UNPKG
react-tiniest-form
Version:
latest (1.1.2)
1.1.2
1.0.2
1.0.1
1.0.0
0.0.4
0.0.3
0.0.2
0.0.1
the tiniest form
n0eyes.github.io/react-tiniest-form
n0eyes/react-tiniest-form
react-tiniest-form
/
dist
/
utils
/
@common
/
composeRefs.d.ts
5 lines
(4 loc)
•
179 B
TypeScript
View Raw
1
2
3
4
5
import
{
Ref
}
from
'react'
;
type
PossibleRef
<T> =
Ref
<T> |
undefined
;
declare
const
composeRefs
: <T>
(
...
refs
:
PossibleRef
<T>[]
) =>
(
instance
: T
) =>
void
;
export
{ composeRefs };