Skip to content

masterplan-optimizer-frontend


masterplan-optimizer-frontend / SwitchProps

Interface: SwitchProps

Defined in: src/components/ui/Switch.tsx:4

Props for the compact binary switch control.

Properties

checked

checked: boolean

Defined in: src/components/ui/Switch.tsx:5


className?

optional className?: string

Defined in: src/components/ui/Switch.tsx:10


disabled?

optional disabled?: boolean

Defined in: src/components/ui/Switch.tsx:9


leftLabel?

optional leftLabel?: string

Defined in: src/components/ui/Switch.tsx:7


onChange

onChange: (checked) => void

Defined in: src/components/ui/Switch.tsx:6

Parameters

checked

boolean

Returns

void


rightLabel?

optional rightLabel?: string

Defined in: src/components/ui/Switch.tsx:8