🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

react-native-countdown-hint

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-countdown-hint

A countdown component for waiting for verification code reception

0.0.3
latest
Source
npm
Version published
Weekly downloads
3
200%
Maintainers
1
Weekly downloads
 
Created
Source

A countdown component for waiting for verification code reception

Screen Capture

react-native-countdown-hint-ios

支持停止、暂停、继续、重置等方法

Installation

react-native-countdown-hint

Properties

PropPropTypeDefault ValueisRequiredDescription
textleftstring剩余NO倒计时刻度左侧显示的内容
durationnumber60NO倒计时的间隔
textrightstringSNO倒计时刻度右侧显示的内容
containerStyleobjectNO倒计时组件外部容器的样式
textleftStyleobjectNO倒计时组件左侧文本的样式
durationStyleobjectNO倒计时组件刻度的样式
textrightStyleobjectNO倒计时组件右侧文本的样式

APIs

NameisRequiredDescription
stopNO停止倒计时,时间清零
pauseNO暂停倒计时
resumeNO继续倒计时
resetNO重置倒计时,可以重新设置duration,开始一个新的倒计时

Keywords

react-native

FAQs

Package last updated on 20 Apr 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts