import { IFormItemProps } from "@leight-core/leight"; import { CheckboxProps } from "antd"; import { NamePath } from "rc-field-form/lib/interface"; import { FC } from "react"; export interface ICheckboxItemProps extends Partial { /** * Field name: * * - https://ant.design/components/form/#NamePath */ field: NamePath; checkboxProps?: Partial; } /** * This one is just a tiny wrapper around common FormItem providing right binding to value props. * * Rest of props are sent to Antd SwitchItem component. * * Others: * * - https://ant.design/components/checkbox/ */ export declare const CheckboxItem: FC;