UNPKG
react-use-what-input
Version:
latest (1.2.0)
1.2.0
1.1.0
1.0.2
1.0.1
1.0.0
React hook for what-input integration
github.com/kmck/react-use-what-input
kmck/react-use-what-input
react-use-what-input
/
dist
/
useWhatInput.d.ts
5 lines
(4 loc)
•
269 B
TypeScript
View Raw
1
2
3
4
5
/// <reference types="../typings/what-input" />
import
{
WhatInputEventType
,
WhatInputType
}
from
'what-input'
;
export
default
function
useWhatInput
(
intent: WhatInputEventType
):
WhatInputType
;
export
default
function
useWhatInput
(
): [
WhatInputType
,
WhatInputType
];