没有合适的资源?快使用搜索试试~ 我知道了~
otp-input-react:使用react钩子来响应简单的otp输入
共39个文件
js:26个
json:4个
md:3个
需积分: 10 0 下载量 107 浏览量
2021-05-06
04:29:24
上传
评论
收藏 344KB ZIP 举报
温馨提示
otp输入React 完全可定制的一次性密码输入,带有用于通过React功能组件构建的Web的重新发送OTP组件。 安装 npm install --save otp-input-react 用法: import OTPInput , { ResendOTP } from "otp-input-react" ; function App ( ) { const [ OTP , setOTP ] = useState ( "" ) ; return ( < OTPInput value = { OTP } onChange = { setOTP } autoFocus OTPLength = { 4 } otpType = "number" disabled = { false } secu
资源推荐
资源详情
资源评论
收起资源包目录
otp-input-react-master.zip (39个子文件)
otp-input-react-master
CHANGELOG.MD 203B
public
manifest.json 306B
index.html 2KB
favicon.ico 4KB
yarn.lock 455KB
src
lib
components
__test__
OTPReader.test.js 5KB
ResendOTP.test.js 4KB
Input.test.js 2KB
ResendOTP.js 1KB
OTPReader.js 2KB
Input.js 2KB
hooks
__test__
resendOTP.test.js 2KB
useOTP.test.js 5KB
resendOTP.js 890B
useOTP.js 4KB
index.js 113B
demo
App.js 3KB
serviceWorker.js 5KB
index.js 430B
setupTests.js 475B
.vscode
settings.json 29B
scripts
build.js 6KB
test.js 1KB
start.js 5KB
demo.js 6KB
.npmignore 298B
.travis.yml 134B
config
jest
fileTransform.js 815B
cssTransform.js 314B
env.js 3KB
webpack.config.js 28KB
webpackDevServer.config.js 6KB
modules.js 2KB
paths.js 3KB
LICENSE.md 1KB
README.md 8KB
.gitignore 316B
package-lock.json 515KB
package.json 4KB
共 39 条
- 1
资源评论
司幽幽
- 粉丝: 30
- 资源: 4547
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功