UNPKG

@firecms/core

Version:

Awesome Firebase/Firestore-based headless open-source CMS

12 lines (11 loc) 522 B
import { FieldProps } from "../../types"; type SwitchFieldProps = FieldProps<boolean>; /** * Simple boolean switch biding to a boolean property. * * This is one of the internal components that get mapped natively inside forms * and tables to the specified properties. * @group Form fields */ export declare const SwitchFieldBinding: ({ propertyKey, value, setValue, error, showError, autoFocus, disabled, size, property, includeDescription }: SwitchFieldProps) => import("react/jsx-runtime").JSX.Element; export {};