Skip to main content
Version: 2.0.0

Function: SwitchFieldBinding

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

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.

Parameters

NameType
propsSwitchFieldProps & RefAttributes<unknown>

Returns

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

Defined in

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

Enterprise or start-up?

Learn how to get the most out of your project with the help of our consulting team.
Learn more
Sign up to our newsletter to get the latest news and updates. No spam!