UNPKG
use-keybinds
Version:
latest (0.3.2)
0.3.2
0.3.1
0.3.0
0.2.0
0.1.2
0.1.1
0.1.0
Lightweight keybind library for React
OfficialPesonen/use-keybinds
use-keybinds
/
dist
/
useKeybindsList.d.ts
9 lines
(6 loc)
•
228 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
{
Keybind
,
Keybinds
}
from
'./types.js'
;
declare
const
useKeybindsList
: <
Slug
extends
string
>
() =>
{
getKeybind
:
(
slug
:
Slug
) =>
Keybind
;
keybinds
:
Keybinds
<
string
>; };
export
{ useKeybindsList
as
default
};