@kadconsulting/dry
Version:
KAD Reusable Component Library
13 lines (12 loc) • 411 B
TypeScript
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';
}