The SwitchField is a type of checkbox that represents on/off values.
View source codebooleanWhether the SwitchInput should be checked
ReactNodeContent to render as the SwitchInput's label
ChangeEventHandler<HTMLInputElement>Handler called when the SwitchInput's state changes
stringclassName for the element
"content" | "parent"Whether the input should fit the content or the parent. Default to content
Default: contentReactNodeContent to render as the SwitchInput's help text
stringThe element's unique identifier
booleanWhether the input is disabled. Default to false
Default: falsestringName of the input element
Default: