- Preparing search index...
- The search index is not available
Documentation
- SimpleSwitch(__namedParameters): Element
-
Parameters
-
__namedParameters: {
className?: string;
label: string;
name: string;
onChange: ((event, checked) => void);
value: boolean;
}
-
Optional
className?: string
-
label: string
-
name: string
-
onChange: ((event, checked) => void)
-
- (event, checked): void
-
Parameters
-
event: ChangeEvent<HTMLInputElement>
-
checked: boolean
Returns void
-
value: boolean
Returns Element