add interface for ToggleSwitchProps

This commit is contained in:
Benjamin Lu
2025-07-01 14:06:56 -04:00
parent 36955407e7
commit 79b5c75b85

View File

@@ -0,0 +1,18 @@
/**
* Type definitions for widget component props
*/
export interface ToggleSwitchProps {
modelValue: string | boolean
defaultValue?: string | boolean
name?: string
trueValue?: any
falseValue?: any
invalid?: boolean
disabled?: boolean
readonly?: boolean
tabindex?: number
inputId?: string
ariaLabelledby?: string
ariaLabel?: string
}