You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
467 B
28 lines
467 B
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>
|
|
)
|
|
|