Skip to content

@k8slens/extensions / Exports / Renderer / Component / SwitcherProps

Interface: SwitcherProps#

Renderer.Component.SwitcherProps

Table of contents#

Properties#

Properties#

checked#

Optional checked: boolean


children#

Optional children: StrictReactNode


disabled#

Optional disabled: boolean


name#

Optional name: string


onChange#

Optional onChange: (event: ChangeEvent<HTMLInputElement>, checked: boolean) => void

Type declaration#

▸ (event, checked): void

Parameters#
Name Type
event ChangeEvent<HTMLInputElement>
checked boolean
Returns#

void