import { FC } from 'react' type Props = { isActive: boolean, value: 'year' | '3month' | 'month', onChange: (value: 'year' | '3month' | 'month') => void } const Radio: FC = (props: Props) => { return (
props.onChange(props.value)} className='size-4 cursor-pointer rounded-full bg-[#EAEDF5] flex justify-center items-center'> { props.isActive &&
}
) } export default Radio