https://github.com/gquittet/react-native-piecountdown
A pie count down component for React Native
https://github.com/gquittet/react-native-piecountdown
component count countdown down pie plugin react-native
Last synced: 4 months ago
JSON representation
A pie count down component for React Native
- Host: GitHub
- URL: https://github.com/gquittet/react-native-piecountdown
- Owner: gquittet
- Created: 2019-05-19T22:44:22.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-20T23:39:28.000Z (about 6 years ago)
- Last Synced: 2025-02-17T03:11:24.950Z (4 months ago)
- Topics: component, count, countdown, down, pie, plugin, react-native
- Language: TypeScript
- Size: 1010 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React Native Pie Count Down

## Example
```typescript
import React from "react";
import { StyleSheet, Text, View } from "react-native";
import { PieCountDown } from "react-native-piecountdown";export default class App extends React.Component {
render() {
return (
);
}
}const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
alignItems: 'center',
justifyContent: 'center',
},
});```
## Events
### onPieCountDownUpdate: Object
Return the following object.
```typescript
{
time: number,
toString: string
}
```### onPieCountDownFinished: void
Return nothing.
```typescript
```## Todo
- [x] Add animations to the circle
- [ ] Allow color configuration
- [ ] Allow more tweaks## Author
Guillaume Quittet