UNPKG

@uiw/react-native

Version:
14 lines (13 loc) 458 B
import React from '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) => React.JSX.Element; export default FormCheckBox;