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.
 
 
 
 
spa_instat_tv/src/features/Register/components/AdditionalSubscription/index.tsx

25 lines
520 B

import { Checkbox } from 'features/Common'
import { Price } from '../Price'
import {
PriceItemTitle,
PriceItem,
PriceItemCol,
} from './styled'
type Props = {
price: number,
title: string,
}
export const AdditionalSubscription = ({ price, title }: Props) => (
<PriceItem>
<PriceItemCol>
<Checkbox name='additionalSubscription' id={title} />
</PriceItemCol>
<PriceItemCol>
<PriceItemTitle>{title}</PriceItemTitle>
<Price amount={price} />
</PriceItemCol>
</PriceItem>
)