spartan-ui
Version:
React component library that focusses on getting the basics right leaving the design up to you
11 lines (10 loc) • 338 B
TypeScript
import { FunctionComponent } from 'react';
import { InputProps } from './Input';
interface InputOptionProps extends InputProps {
type?: 'checkbox' | 'radio';
checked?: boolean;
defaultChecked?: boolean;
value: string;
}
declare const InputOption: FunctionComponent<InputOptionProps>;
export default InputOption;