@useloops/design-system
Version:
The official React based Loops design system
20 lines (17 loc) • 561 B
TypeScript
import { FunctionComponent } from 'react';
import { StyledRadioProps } from './StyledRadio.js';
interface RadioProps {
sizing?: StyledRadioProps['sizing'];
disabled?: boolean;
name?: string;
value?: unknown;
autoFocus?: boolean;
onChange?: ((event: React.ChangeEvent<HTMLInputElement>, checked: boolean) => void) | undefined;
checked?: boolean;
readOnly?: boolean;
required?: boolean;
'aria-label'?: string;
}
declare const Radio: FunctionComponent<RadioProps>;
export { Radio as default };
export type { RadioProps };