grommet
Version:
focus on the essential experience
15 lines (11 loc) • 564 B
TypeScript
import * as React from "react";
import { BoxProps } from '../Box'
export interface RadioButtonGroupProps {
disabled?: boolean;
name: string;
onChange?: ((event: React.ChangeEvent<HTMLInputElement>) => void);
options: (string | number | boolean | { disabled?: boolean, id?: string, label?: (string | React.ReactNode), value: string | number | boolean })[];
value?: string | number | boolean | object;
}
declare const RadioButtonGroup: React.ComponentClass<RadioButtonGroupProps & BoxProps & JSX.IntrinsicElements['div']>;
export { RadioButtonGroup };