UNPKG
react-pin-field
Version:
latest (4.0.2)
4.0.2
4.0.1
4.0.0
3.1.5
3.1.4
3.1.3
3.1.2
3.1.1
3.1.0
3.0.16
3.0.15
3.0.14
3.0.13
3.0.12
3.0.11
3.0.10
3.0.9
3.0.7
3.0.6
2.0.0-beta.3
2.0.0-beta.2
2.0.0-beta.1
2.0.0-beta.0
1.1.0
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.3.1
0.3.0
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
React component for entering PIN codes
github.com/soywod/react-pin-field
soywod/react-pin-field
react-pin-field
/
dist
/
utils.d.ts
6 lines
(5 loc)
•
258 B
TypeScript
View Raw
1
2
3
4
5
6
export
declare
const
BACKSPACE_KEY_CODE
=
8
;
export
declare
const
DELETE_KEY_CODE
=
46
;
export
declare
function
noop
(
):
void
;
export
declare
function
range
(
start
:
number
,
length
:
number
):
number
[];
export
declare
function
hasFocus
(
el
:
HTMLElement
):
boolean
;