UNPKG

@firecms/core

Version:

Awesome Firebase/Firestore-based headless open-source CMS

13 lines (12 loc) 527 B
import React from "react"; 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) => React.JSX.Element; export {};