Skip to content

@k8slens/extensions / Exports / Renderer / Component / SwitchProps

Interface: SwitchProps#

Renderer.Component.SwitchProps

Hierarchy#

  • Omit<HTMLProps<HTMLInputElement>, "onChange">

SwitchProps

Table of contents#

Properties#

Properties#

onChange#

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

Type declaration#

▸ (checked, event): void

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

void