Switch
Switch
Section titled “Switch”Shared compact binary control for Pro UI.
export function Switch({ checked, onChange, label, ariaLabel, className = '', disabled = false, labelPosition = 'before', title, testId,}: SwitchProps): any;SwitchRenderable
Section titled “SwitchRenderable”export type SwitchRenderable = any;SwitchProps
Section titled “SwitchProps”export type SwitchProps = { checked: boolean; onChange: (checked: boolean) => void; label: SwitchRenderable; ariaLabel?: string; className?: string; disabled?: boolean; labelPosition?: 'before' | 'after'; title?: string; testId?: string;};