/** * External dependencies */ import classnames from 'classnames'; /** * Internal dependencies */ import OptionLayout from './option-layout'; import type { RadioControlOptionProps } from './types'; const Option = ( { checked, name, onChange, option, }: RadioControlOptionProps ): JSX.Element => { const { value, label, description, secondaryLabel, secondaryDescription, } = option; const onChangeValue = ( event: React.ChangeEvent< HTMLInputElement > ) => onChange( event.target.value ); return ( ); }; export default Option;