feat: refactor of my stay
This commit is contained in:
committed by
Simon.Emanuelsson
parent
b5deb84b33
commit
ec087a3d15
@@ -16,7 +16,14 @@ const Checkbox = forwardRef<
|
||||
HTMLInputElement,
|
||||
React.PropsWithChildren<CheckboxProps>
|
||||
>(function Checkbox(
|
||||
{ className, name, children, registerOptions, hideError, topAlign = false },
|
||||
{
|
||||
className = "",
|
||||
name,
|
||||
children,
|
||||
registerOptions,
|
||||
hideError,
|
||||
topAlign = false,
|
||||
},
|
||||
ref
|
||||
) {
|
||||
const { control } = useFormContext()
|
||||
|
||||
Reference in New Issue
Block a user