UNPKG
react-otp-input-tailwind
Version:
latest (1.1.2)
1.1.2
1.1.1
1.1.0
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
A very easy to use react otp package that can be utilized seamlessly in your own project.
react-otp-input-tailwind
/
dist
/
types
/
src
/
components
/
OtpInput
/
useOtpInput.d.ts
8 lines
(7 loc)
•
226 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
/// <reference types="react" />
declare
const
useOtpInput
:
(
value
:
number
) =>
{
otp
:
any
[];
setOtp
:
import
(
"react"
).
Dispatch
<
import
(
"react"
).
SetStateAction
<
any
[]>>;
otpValue
:
string
; };
export
default
useOtpInput;