1
1
mirror of https://github.com/theoludwig/p61-project.git synced 2024-07-17 07:00:12 +02:00
p61-project/presentation/react/components/Stats/Stats.tsx

36 lines
1008 B
TypeScript
Raw Normal View History

2024-04-12 13:43:49 +02:00
import { SafeAreaView } from "react-native-safe-area-context"
import { Card, Text } from "react-native-paper"
export const Stats: React.FC = () => {
return (
<SafeAreaView>
<Text> {"Statistique"} </Text>
<Card mode="outlined">
<Card.Title title="Current Streak" />
<Card.Content>
<Text variant="bodyMedium">nbDays Sucess that follow</Text>
</Card.Content>
</Card>
<Card mode="outlined">
<Card.Title title="Sucess" />
<Card.Content>
<Text variant="bodyMedium">nbDays Sucess</Text>
</Card.Content>
</Card>
<Card mode="outlined">
<Card.Title title="Failed" />
<Card.Content>
<Text variant="bodyMedium">nbDays Fail</Text>
</Card.Content>
</Card>
<Card mode="outlined">
<Card.Title title="Card Title" />
<Card.Content>
<Text variant="bodyMedium">CardContent</Text>
</Card.Content>
</Card>
</SafeAreaView>
)
}