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 (
<View style={styles.container}>
<PieCountDown time={10}></PieCountDown>
</View>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
alignItems: 'center',
justifyContent: 'center',
},
});
Return the following object.
{
time: number,
toString: string
}
Return nothing.
- Add animations to the circle
- Allow color configuration
- Allow more tweaks
Guillaume Quittet