UNPKG

@uiw/react-native

Version:
14 lines (13 loc) 457 B
/// <reference types="react" /> import { KeyType } from '../types'; import { CheckBoxProps } from '../../CheckBox'; interface FormCheckBoxProps extends CheckBoxProps { value?: KeyType[]; onChange?: (value: KeyType[] | boolean) => void; options?: Array<{ label: string; value: KeyType; }>; } declare const FormCheckBox: ({ value, onChange, options, ...others }: FormCheckBoxProps) => JSX.Element; export default FormCheckBox;