UNPKG

@kadconsulting/dry

Version:
13 lines (12 loc) 411 B
import { ChangeEvent } from 'react'; import { RadioButtonProps } from '../RadioButton/RadioButtonTypes'; export interface RadioButtonGroupProps { id?: string; className?: string; name: string; options: RadioButtonProps[]; selectedValue?: string; defaultValue?: string; onChange?: (event: ChangeEvent<HTMLInputElement>, value: string) => void; type?: 'horizontal' | 'vertical'; }