@preboot.io/preboot-ui-community
Version:
A community-driven React component library to accelerate building modern SaaS applications, designed to work with PreBoot.io backend.
8 lines (7 loc) • 375 B
TypeScript
import { CheckboxProps } from '@mantine/core';
import { BaseFieldProps } from '../types';
interface CheckboxFieldProps<T> extends Omit<CheckboxProps, 'error' | 'form'>, BaseFieldProps<T> {
name: keyof T & string;
}
export declare function CheckboxField<T>({ form, name, label, mode, ...props }: CheckboxFieldProps<T>): import("react/jsx-runtime").JSX.Element;
export {};