@blueprintjs-formik/core
Version:
Bindings for using Formik and Blueprint.js
13 lines (12 loc) • 504 B
TypeScript
/// <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;