Ajout bannière affichant le temps de pénalité restant

This commit is contained in:
2024-12-12 18:43:56 +01:00
parent 9c7a447e4e
commit 9543177db6
3 changed files with 25 additions and 1 deletions

View File

@ -1,6 +1,7 @@
import PenaltyBanner from '@/components/PenalyBanner'
import { FontAwesome6 } from '@expo/vector-icons'
import { View } from 'react-native'
import { Appbar, Button, Card, Surface, Text } from 'react-native-paper'
import { Appbar, Button, Surface, Text } from 'react-native-paper'
export default function ChallengesScreen() {
return (
@ -9,6 +10,7 @@ export default function ChallengesScreen() {
<Appbar.Content title={"Défis"} />
<Appbar.Action icon='format-list-bulleted' />
</Appbar.Header>
<PenaltyBanner />
<Surface elevation={2} style={{ flex: 1, margin: 20, borderRadius: 20 }}>
<View style={{ padding: 10 }}>
<Text variant='headlineMedium' style={{ textAlign: 'center' }}>Titre</Text>