import { T9n } from 'features/T9n'

import {
  ScCurrency,
  ScPriceInfo,
  ScTitle,
  ScPrice,
  ScWatchDemo,
} from './styled'

export type PriceInfoType = {
  price: number,
}

export const PriceInfo = ({ price }: PriceInfoType) => (
  <ScPriceInfo>
    <ScTitle>
      <T9n t='price' />
    </ScTitle>
    <ScPrice>
      <ScCurrency>$</ScCurrency>
      {price}
    </ScPrice>
    <ScWatchDemo>
      <T9n t='watch_demo' />
    </ScWatchDemo>
  </ScPriceInfo>
)
