Skip to main content
Version: 2.0.0-alpha

Function: SwitchFieldBinding

SwitchFieldBinding(props): null | ReactElement<any, string | JSXElementConstructor<any>>

Simple boolean switch.

This is one of the internal components that get mapped natively inside forms and tables to the specified properties.

Parameters

NameType
propsSwitchFieldProps & RefAttributes<unknown>

Returns

null | ReactElement<any, string | JSXElementConstructor<any>>

Defined in

node_modules/@types/react/index.d.ts:351

Need a hand?

We are happy to offer consulting services to help you get the most out of FireCMS.
Get in touch