Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@miidx/rn-count-down

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@miidx/rn-count-down

A React Native component which can show time count down starting from current time.

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

rn-count-down

A React Native component which can show time count down starting from current time.

Installation

  npm i @miidx/rn-count-down

Usage

    <Countdown
      label="Time:"
      endTime="2019-12-19T17:32+07:00"
      onTimeIsUp={() => { console.log('Time is up!'); }}
    />

Properties

NameDescriptionTypeRequiredDefault value
containerStyleStyle of component's containerobjectno{}
endTimeEnd time value in complete ISO-8601 date time format YYYY-MM-DDTHH:mmZ. YYYY is 4 digit year, MM is month number, DD is day of month, HH is hours in 24 hour time, mm is minutes, and Z is offset from UTC time, such as +-HH:mm. Adding seconds s and fractional seconds SS are optionalstringyes
labelText shown beside time count downstringno''
onTimeIsUpCallback called when time is upfunctionyes
textStyleStyle of time value textobjectno{}


FAQs

Package last updated on 08 Jan 2020

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc