@chainplatform/countdown
v0.1.7
Published
@chainplatform/countdown is a React Native library that provides a CountDown component that renders timer count down for react-native and react-native-web.
Maintainers
Readme
React Native Count Down
@chainplatform/countdown is a React Native library that provides a CountDown component that renders timer count down for react-native and react-native-web.
Install
npm install @chainplatform/countdown --saveor
yarn add @chainplatform/countdownUsage
import React from 'react';
import {StyleSheet} from 'react-native';
import CountDown from '@chainplatform/countdown';
class App extends React.Component {
render() {
return (
<View style={{flex:1}}>
<CountDown
until={this.countTime}
running={true}
onFinish={() => {
this.setState({
count_finish: true
})
}}
timeToShow={['M', 'S']}
timeLabels={{ m: '', s: '' }}
showSeparator
/>
</View>
);
}
}🪪 License
MIT © 2025 Chain Platform
💖 Support & Donate
If you find this package helpful, consider supporting the development:
| Cryptocurrency | Address |
|----------------|----------|
| Bitcoin (BTC) | 17grbSNSEcEybS1nHh4TGYVodBwT16cWtc |
| Ethereum (ETH) | 0xa2fd119a619908d53928e5848b49bf1cc15689d4 |
| Tron (TRX) | TYL8p2PLCLDfq3CgGBp58WdUvvg9zsJ8pd |
| DOGE (DOGE) | DDfKN2ys4frNaUkvPKcAdfL6SiVss5Bm19 |
| USDT (SOLANA) | cPUZsb7T9tMfiZFqXbWbRvrUktxgZQXQ2Ni1HiVXgFm |
Your contribution helps maintain open-source development under the Chain Platform ecosystem 🚀
