diff --git a/src/types/widgetPropTypes.ts b/src/types/widgetPropTypes.ts new file mode 100644 index 0000000000..b8b0d8a067 --- /dev/null +++ b/src/types/widgetPropTypes.ts @@ -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 +}