| | |
| | | |
| | | type Props = { |
| | | className?: string |
| | | title: string | React.JSX.Element | null |
| | | title: string | JSX.Element | null |
| | | description: string |
| | | isChosen: boolean |
| | | onChosen: () => void |
| | | chosenConfig?: React.ReactNode |
| | | icon?: React.JSX.Element |
| | | icon?: JSX.Element |
| | | extra?: React.ReactNode |
| | | } |
| | | |
| | |
| | | <div className='flex px-3 py-2'> |
| | | {icon} |
| | | <div> |
| | | <div className='flex items-center justify-between'> |
| | | <div className='text-sm font-medium leading-5 text-gray-900'>{title}</div> |
| | | <div className='flex justify-between items-center'> |
| | | <div className='leading-5 text-sm font-medium text-gray-900'>{title}</div> |
| | | <div className={s.radio}></div> |
| | | </div> |
| | | <div className='text-xs font-normal leading-[18px] text-gray-500'>{description}</div> |
| | | <div className='leading-[18px] text-xs font-normal text-gray-500'>{description}</div> |
| | | </div> |
| | | </div> |
| | | {extra} |