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
/
getRadioValue.d.ts
8 lines
(7 loc)
•
269 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
RadioOrCheckboxOption
}
from
'../types'
;
declare
type
RadioFieldResult
= {
isValid
:
boolean
;
value
:
number
|
string
|
null
; };
declare
const
_default
:
(
options
?:
RadioOrCheckboxOption
[] |
undefined
) =>
RadioFieldResult
;
export
default
_default;