feat(SW-360): Added checkbox component

This commit is contained in:
Tobias Johansson
2024-09-06 10:56:58 +02:00
committed by Pontus Dreij
parent 2886f537ee
commit a4483b7d71
3 changed files with 94 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
import { RegisterOptions } from "react-hook-form"
export interface CheckboxProps
extends React.InputHTMLAttributes<HTMLInputElement> {
name: string
registerOptions?: RegisterOptions
}