UNPKG

northants-design-system

Version:

Design system for West & North Northamptonshire Councils, two unitary councils encompassing Wellingborough, Corby, Daventry, East Northants, Kettering, Northampton, Northamptonshire County and South Northants.

35 lines (34 loc) 677 B
export interface RadioCheckboxInputProps { /** * Is the input checked? */ checked: boolean; /** * The label for the input */ label: string; /** * The name of the input */ name: string; /** * The on change function */ onChange?: React.ReactNode | ((e: any) => void); /** * Is this a single selection, if true radio, if false checkbox */ singleSelection: boolean; /** * The value of the input */ value: string; /** * Is the field in an error state */ isErrored?: boolean; /** * Is the radio button disabled? */ isDisabled?: boolean; }