feat: SW-1422 Implemented Switch/Toggle component

This commit is contained in:
Hrishikesh Vaipurkar
2025-01-30 11:38:38 +01:00
parent 1b5b09d7a6
commit 6741a0a21c
3 changed files with 102 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
import type { RegisterOptions } from "react-hook-form"
export interface SwitchProps
extends React.InputHTMLAttributes<HTMLInputElement> {
name: string
registerOptions?: RegisterOptions
}