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.
27 lines
589 B
27 lines
589 B
import React from 'react'
|
|
|
|
import { Radio } from 'features/Common'
|
|
|
|
import { Price } from '../Price'
|
|
import {
|
|
SubscriptionWrapper,
|
|
SubscriptionTitle,
|
|
Row,
|
|
} from '../SubscriptionsStep/styled'
|
|
|
|
type TMainSubscription = {
|
|
price: number,
|
|
title: string,
|
|
}
|
|
|
|
export const MainSubscription = ({ price, title }: TMainSubscription) => (
|
|
<SubscriptionWrapper>
|
|
<Row>
|
|
<Radio name='mainSubscription' id={title} />
|
|
<SubscriptionTitle>{title}</SubscriptionTitle>
|
|
</Row>
|
|
<Row left={70} bottom={100}>
|
|
<Price amount={price} />
|
|
</Row>
|
|
</SubscriptionWrapper>
|
|
)
|
|
|