- Custom colors
- Custom size and border radius
- Light-weight: No other dependencies besides
react-native
- Performant and Smooth: Uses React Native's
Animated
library
yarn add react-native-countdown-circle
or
npm install --save react-native-countdown-circle
import CountdownCircle from 'react-native-countdown-circle'
render() {
return (
<CountdownCircle
seconds={10}
radius={30}
borderWidth={8}
color="#ff003f"
bgColor="#fff"
textStyle={{ fontSize: 20 }}
onTimeElapsed={() => console.log('Elapsed!')}
/>
)
}