UNPKG

@blueprintjs-formik/core

Version:
13 lines (12 loc) 504 B
/// <reference types="react" /> import { CheckboxProps as BPCheckboxProps } from '@blueprintjs/core'; import { FieldBaseProps } from './FieldBase'; export interface CheckboxProps extends BPCheckboxProps, Omit<FieldBaseProps, 'children' | 'component' | 'as' | 'type' | 'value'> { name: string; } /** * Checkbox BP wrappeed component to bind with Formik. * @param {CheckboxProps} * @returns {JSX.Element} */ export declare function Checkbox({ ...props }: CheckboxProps): JSX.Element;