Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 926 Bytes

README.md

File metadata and controls

32 lines (24 loc) · 926 Bytes

react-native-countdown-bar

CountdownBar

Installation

Run npm install react-native-countdown-bar --save

Props

Name Description Type Default Value
time Forward Time object 10
BgColor Background color string #1abc9c '#1abc9c'
BgColorIn Background color in color string #fff '#fff'
complete complete function func null
height Height of the bar string 40

Preview

React Native CountdownBar

Code

import CountdownBar from "react-native-countdown-bar";

      <CountdownBar 
          time={10}
          BgColor="#1abc9c"
          BgColorIn="#fff"
          complete={()=> console.log("complete")}
        />