grommet
Version:
focus on the essential experience
21 lines (16 loc) • 512 B
TypeScript
import * as React from 'react';
import { A11yTitleType } from '../../utils';
export interface RadioButtonProps {
a11yTitle?: A11yTitleType;
checked?: boolean;
children?: React.ReactNode | Function;
disabled?: boolean;
id?: string;
label?: React.ReactNode;
name: string;
}
export interface RadioButtonExtendedProps
extends RadioButtonProps,
Omit<JSX.IntrinsicElements['input'], 'name' | 'children'> {}
declare const RadioButton: React.FC<RadioButtonExtendedProps>;
export { RadioButton };