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/UserAccount/CardNumber/index.tsx

28 lines
607 B

import React from 'react'
import { Radio } from 'features/Common/Radio'
import { VisaLogoWrapper } from '../VisaLogo'
import { CardNumberWrapper, CardNumberTextWrapper } from './styled'
type TUserAccountInput = {
checked?: boolean,
label: string,
visa?: boolean,
}
export const CardNumber = ({
checked,
label,
visa,
}: TUserAccountInput) => (
<CardNumberWrapper>
<Radio
label={label}
checked={checked}
onChange={() => {}}
/>
<VisaLogoWrapper visa={visa} />
<CardNumberTextWrapper>Удалить карту</CardNumberTextWrapper>
</CardNumberWrapper>
)