UNPKG
react-hook-form-6
Version:
latest (6.15.5)
6.15.5
Latest version 6 of react-hook-form
www.react-hook-form.com
react-hook-form/react-hook-form
react-hook-form-6
/
dist
/
logic
/
getCheckboxValue.d.ts
8 lines
(7 loc)
•
280 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
RadioOrCheckboxOption
}
from
'../types'
;
declare
type
CheckboxFieldResult
= {
isValid
:
boolean
;
value
:
string
|
string
[] |
boolean
; };
declare
const
_default
:
(
options
?:
RadioOrCheckboxOption
[] |
undefined
) =>
CheckboxFieldResult
;
export
default
_default;