@wasto/cms-components 1.5.10 → 1.5.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +47 -47
- package/dist/index.d.mts +103 -2
- package/dist/index.d.ts +103 -2
- package/dist/index.js +2861 -2442
- package/dist/index.mjs +3651 -3227
- package/package.json +2 -2
- package/src/components/announcement-modal/AnnouncementModal.tsx +183 -183
- package/src/components/article/Article.tsx +21 -21
- package/src/components/article/ArticleCard.tsx +81 -81
- package/src/components/article/ArticleExcerpts.tsx +80 -80
- package/src/components/article/ArticleList.tsx +114 -114
- package/src/components/article/ArticleMarkdown.tsx +170 -170
- package/src/components/article/ArticleReaderModal.tsx +93 -93
- package/src/components/article/ArticleSingle.tsx +57 -57
- package/src/components/bottom-tab/BottomTab.tsx +392 -392
- package/src/components/button/Button.tsx +154 -154
- package/src/components/challenge/Badges.tsx +84 -84
- package/src/components/challenge/BadgesModal.tsx +166 -166
- package/src/components/challenge/Challenge.tsx +380 -380
- package/src/components/challenge/ChallengeModal.tsx +231 -231
- package/src/components/challenge/ChallengeVignette.tsx +249 -249
- package/src/components/challenge/ChallengesModal.tsx +243 -243
- package/src/components/challenge/QuizModal.tsx +381 -381
- package/src/components/challenge/ResultModal.tsx +144 -144
- package/src/components/chat/Chat.tsx +928 -928
- package/src/components/collection-calendar/CollectionCalendar.tsx +274 -274
- package/src/components/columns/Columns.tsx +33 -33
- package/src/components/consignes-modal/ConsignesModal.tsx +267 -267
- package/src/components/content-inset/ContentInset.tsx +33 -33
- package/src/components/header/Header.tsx +391 -391
- package/src/components/image/Image.tsx +15 -15
- package/src/components/image/ImageFrame.tsx +102 -102
- package/src/components/image/ImageMedia.tsx +31 -31
- package/src/components/image/ImageUrl.tsx +30 -30
- package/src/components/locations-map/LocationSheet.tsx +417 -417
- package/src/components/locations-map/LocationsMap.native.tsx +260 -260
- package/src/components/locations-map/LocationsMap.tsx +13 -13
- package/src/components/locations-map/LocationsMap.web.tsx +10 -10
- package/src/components/locations-map/LocationsMapShell.tsx +527 -527
- package/src/components/locations-map/LocationsMapView.tsx +108 -108
- package/src/components/locations-map/LocationsMapView.web.tsx +331 -331
- package/src/components/nav-button/NavButton.tsx +59 -59
- package/src/components/next-collection/NextCollection.tsx +636 -621
- package/src/components/notifications/NotificationsScreen.tsx +247 -247
- package/src/components/page/Page.tsx +102 -64
- package/src/components/parapraph/Paragraph.tsx +67 -67
- package/src/components/profile/ProfileScreen.tsx +236 -236
- package/src/components/recycling-info/RecyclingInfo.tsx +189 -189
- package/src/components/safe-area/OptionalSafeAreaProvider.tsx +17 -17
- package/src/components/search/Search.tsx +320 -320
- package/src/components/select-street-modal/SelectStreetModal.tsx +475 -475
- package/src/components/title/Title.tsx +100 -100
- package/src/components/vision/Vision.tsx +447 -447
- package/src/components/vision/VisionActionCard.tsx +117 -117
- package/src/components/vision/VisionCapture.tsx +30 -30
- package/src/components/vision/VisionTapOverlay.tsx +122 -122
- package/src/contexts/AnnouncementsContext.tsx +171 -171
- package/src/contexts/AppDataContext.tsx +458 -0
- package/src/contexts/ChallengesContext.tsx +182 -182
- package/src/contexts/LocalContext.tsx +227 -227
- package/src/contexts/ThemeContext.tsx +37 -37
- package/src/contexts/WastoContext.tsx +130 -127
- package/src/helpers/blogPost.ts +72 -72
- package/src/helpers/generateQuizQuestions.ts +247 -247
- package/src/helpers/getContrastColor.ts +18 -18
- package/src/helpers/haptics.ts +20 -20
- package/src/helpers/hoursSchedule.ts +230 -230
- package/src/helpers/htmlContentToMarkdown.ts +114 -114
- package/src/helpers/layout.ts +54 -54
- package/src/helpers/loadLinearGradient.ts +22 -22
- package/src/helpers/mapLocations.ts +170 -0
- package/src/helpers/maquetteTheme.ts +76 -76
- package/src/helpers/markdownUnderlinePlugin.ts +32 -32
- package/src/helpers/nextCollection.ts +122 -0
- package/src/helpers/normalizeWasteTypeRecyclingInfo.ts +80 -80
- package/src/helpers/publicMediaUrl.ts +8 -8
- package/src/helpers/resolveApiAssetUrl.ts +21 -21
- package/src/helpers/systemRoutes.ts +7 -7
- package/src/helpers/themeStyles.ts +114 -114
- package/src/helpers/ttlCache.ts +41 -0
- package/src/helpers/useSafeAreaPadding.ts +14 -14
- package/src/hooks/useBadges.ts +100 -100
- package/src/hooks/useBlogPosts.ts +109 -105
- package/src/hooks/useChallenges.ts +110 -110
- package/src/hooks/useCities.ts +56 -56
- package/src/hooks/useCityAnnouncements.ts +118 -118
- package/src/hooks/useCollectionCalendar.ts +421 -421
- package/src/hooks/useColumns.ts +19 -19
- package/src/hooks/useConsignes.ts +62 -62
- package/src/hooks/useLocations.ts +120 -248
- package/src/hooks/useNextCollection.ts +163 -238
- package/src/hooks/useRecyclingInfo.ts +90 -90
- package/src/hooks/useWastoClient.ts +16 -16
- package/src/index.ts +149 -142
- package/src/navigation/NavigationContext.tsx +56 -56
- package/src/sentry/initSentry.ts +120 -120
- package/src/types/Theme.ts +72 -72
- package/src/types/css-modules.d.ts +1 -1
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
import { useState, type ReactNode } from "react";
|
|
2
|
-
import { ActivityIndicator, StyleSheet, Text, View } from "react-native";
|
|
3
|
-
import { useTheme } from "../../contexts/ThemeContext";
|
|
4
|
-
import { useBlogPosts } from "../../hooks/useBlogPosts";
|
|
5
|
-
import type { BlogPost } from "../../helpers/blogPost";
|
|
6
|
-
import { ArticleCard } from "./ArticleCard";
|
|
7
|
-
import { ArticleReaderModal } from "./ArticleReaderModal";
|
|
8
|
-
|
|
9
|
-
export type ArticlePropsExcerpts = {
|
|
10
|
-
displayMode: "excerpts";
|
|
11
|
-
excerptLength: number;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export function ArticleExcerpts({
|
|
15
|
-
excerptLength,
|
|
16
|
-
}: ArticlePropsExcerpts): ReactNode {
|
|
17
|
-
const { theme } = useTheme();
|
|
18
|
-
const { posts, isLoading, error } = useBlogPosts();
|
|
19
|
-
const [selected, setSelected] = useState<BlogPost | null>(null);
|
|
20
|
-
|
|
21
|
-
if (isLoading && posts.length === 0) {
|
|
22
|
-
return (
|
|
23
|
-
<View style={styles.state}>
|
|
24
|
-
<ActivityIndicator color={theme.colors.primary} />
|
|
25
|
-
<Text style={{ color: theme.colors.onBackground, opacity: 0.7 }}>
|
|
26
|
-
Chargement des articles…
|
|
27
|
-
</Text>
|
|
28
|
-
</View>
|
|
29
|
-
);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
if (error) {
|
|
33
|
-
return (
|
|
34
|
-
<View style={styles.state}>
|
|
35
|
-
<Text style={{ color: theme.colors.error, textAlign: "center" }}>{error}</Text>
|
|
36
|
-
</View>
|
|
37
|
-
);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
if (posts.length === 0) {
|
|
41
|
-
return (
|
|
42
|
-
<View style={styles.state}>
|
|
43
|
-
<Text style={{ color: theme.colors.onBackground, opacity: 0.7 }}>
|
|
44
|
-
Aucun article pour le moment.
|
|
45
|
-
</Text>
|
|
46
|
-
</View>
|
|
47
|
-
);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
return (
|
|
51
|
-
<View style={styles.list}>
|
|
52
|
-
{posts.map((post) => (
|
|
53
|
-
<ArticleCard
|
|
54
|
-
key={post.id}
|
|
55
|
-
post={post}
|
|
56
|
-
excerptLength={excerptLength || 120}
|
|
57
|
-
onRead={() => setSelected(post)}
|
|
58
|
-
/>
|
|
59
|
-
))}
|
|
60
|
-
<ArticleReaderModal
|
|
61
|
-
visible={!!selected}
|
|
62
|
-
post={selected}
|
|
63
|
-
onClose={() => setSelected(null)}
|
|
64
|
-
/>
|
|
65
|
-
</View>
|
|
66
|
-
);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
const styles = StyleSheet.create({
|
|
70
|
-
list: {
|
|
71
|
-
gap: 12,
|
|
72
|
-
},
|
|
73
|
-
state: {
|
|
74
|
-
minHeight: 80,
|
|
75
|
-
alignItems: "center",
|
|
76
|
-
justifyContent: "center",
|
|
77
|
-
gap: 8,
|
|
78
|
-
padding: 16,
|
|
79
|
-
},
|
|
80
|
-
});
|
|
1
|
+
import { useState, type ReactNode } from "react";
|
|
2
|
+
import { ActivityIndicator, StyleSheet, Text, View } from "react-native";
|
|
3
|
+
import { useTheme } from "../../contexts/ThemeContext";
|
|
4
|
+
import { useBlogPosts } from "../../hooks/useBlogPosts";
|
|
5
|
+
import type { BlogPost } from "../../helpers/blogPost";
|
|
6
|
+
import { ArticleCard } from "./ArticleCard";
|
|
7
|
+
import { ArticleReaderModal } from "./ArticleReaderModal";
|
|
8
|
+
|
|
9
|
+
export type ArticlePropsExcerpts = {
|
|
10
|
+
displayMode: "excerpts";
|
|
11
|
+
excerptLength: number;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export function ArticleExcerpts({
|
|
15
|
+
excerptLength,
|
|
16
|
+
}: ArticlePropsExcerpts): ReactNode {
|
|
17
|
+
const { theme } = useTheme();
|
|
18
|
+
const { posts, isLoading, error } = useBlogPosts();
|
|
19
|
+
const [selected, setSelected] = useState<BlogPost | null>(null);
|
|
20
|
+
|
|
21
|
+
if (isLoading && posts.length === 0) {
|
|
22
|
+
return (
|
|
23
|
+
<View style={styles.state}>
|
|
24
|
+
<ActivityIndicator color={theme.colors.primary} />
|
|
25
|
+
<Text style={{ color: theme.colors.onBackground, opacity: 0.7 }}>
|
|
26
|
+
Chargement des articles…
|
|
27
|
+
</Text>
|
|
28
|
+
</View>
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
if (error) {
|
|
33
|
+
return (
|
|
34
|
+
<View style={styles.state}>
|
|
35
|
+
<Text style={{ color: theme.colors.error, textAlign: "center" }}>{error}</Text>
|
|
36
|
+
</View>
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
if (posts.length === 0) {
|
|
41
|
+
return (
|
|
42
|
+
<View style={styles.state}>
|
|
43
|
+
<Text style={{ color: theme.colors.onBackground, opacity: 0.7 }}>
|
|
44
|
+
Aucun article pour le moment.
|
|
45
|
+
</Text>
|
|
46
|
+
</View>
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
return (
|
|
51
|
+
<View style={styles.list}>
|
|
52
|
+
{posts.map((post) => (
|
|
53
|
+
<ArticleCard
|
|
54
|
+
key={post.id}
|
|
55
|
+
post={post}
|
|
56
|
+
excerptLength={excerptLength || 120}
|
|
57
|
+
onRead={() => setSelected(post)}
|
|
58
|
+
/>
|
|
59
|
+
))}
|
|
60
|
+
<ArticleReaderModal
|
|
61
|
+
visible={!!selected}
|
|
62
|
+
post={selected}
|
|
63
|
+
onClose={() => setSelected(null)}
|
|
64
|
+
/>
|
|
65
|
+
</View>
|
|
66
|
+
);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
const styles = StyleSheet.create({
|
|
70
|
+
list: {
|
|
71
|
+
gap: 12,
|
|
72
|
+
},
|
|
73
|
+
state: {
|
|
74
|
+
minHeight: 80,
|
|
75
|
+
alignItems: "center",
|
|
76
|
+
justifyContent: "center",
|
|
77
|
+
gap: 8,
|
|
78
|
+
padding: 16,
|
|
79
|
+
},
|
|
80
|
+
});
|
|
@@ -1,114 +1,114 @@
|
|
|
1
|
-
import { useState, type ReactNode } from "react";
|
|
2
|
-
import { ActivityIndicator, StyleSheet, Text, View } from "react-native";
|
|
3
|
-
import { useTheme } from "../../contexts/ThemeContext";
|
|
4
|
-
import { Button } from "../button/Button";
|
|
5
|
-
import { useBlogPosts } from "../../hooks/useBlogPosts";
|
|
6
|
-
import type { BlogPost } from "../../helpers/blogPost";
|
|
7
|
-
import { ArticleCard } from "./ArticleCard";
|
|
8
|
-
import { ArticleReaderModal } from "./ArticleReaderModal";
|
|
9
|
-
|
|
10
|
-
export type ArticlePropsList = {
|
|
11
|
-
displayMode: "list";
|
|
12
|
-
itemsPerPage?: number;
|
|
13
|
-
showPagination?: boolean;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
export function ArticleList({
|
|
17
|
-
itemsPerPage = 10,
|
|
18
|
-
showPagination = false,
|
|
19
|
-
}: ArticlePropsList): ReactNode {
|
|
20
|
-
const { theme } = useTheme();
|
|
21
|
-
const { posts, isLoading, error } = useBlogPosts();
|
|
22
|
-
const [page, setPage] = useState(0);
|
|
23
|
-
const [selected, setSelected] = useState<BlogPost | null>(null);
|
|
24
|
-
|
|
25
|
-
const size = Math.max(1, itemsPerPage);
|
|
26
|
-
const pageCount = Math.max(1, Math.ceil(posts.length / size));
|
|
27
|
-
const safePage = Math.min(page, pageCount - 1);
|
|
28
|
-
const slice = showPagination
|
|
29
|
-
? posts.slice(safePage * size, safePage * size + size)
|
|
30
|
-
: posts.slice(0, size);
|
|
31
|
-
|
|
32
|
-
if (isLoading && posts.length === 0) {
|
|
33
|
-
return (
|
|
34
|
-
<View style={styles.state}>
|
|
35
|
-
<ActivityIndicator color={theme.colors.primary} />
|
|
36
|
-
<Text style={{ color: theme.colors.onBackground, opacity: 0.7 }}>
|
|
37
|
-
Chargement des articles…
|
|
38
|
-
</Text>
|
|
39
|
-
</View>
|
|
40
|
-
);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
if (error) {
|
|
44
|
-
return (
|
|
45
|
-
<View style={styles.state}>
|
|
46
|
-
<Text style={{ color: theme.colors.error, textAlign: "center" }}>{error}</Text>
|
|
47
|
-
</View>
|
|
48
|
-
);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
if (posts.length === 0) {
|
|
52
|
-
return (
|
|
53
|
-
<View style={styles.state}>
|
|
54
|
-
<Text style={{ color: theme.colors.onBackground, opacity: 0.7 }}>
|
|
55
|
-
Aucun article pour le moment.
|
|
56
|
-
</Text>
|
|
57
|
-
</View>
|
|
58
|
-
);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
return (
|
|
62
|
-
<View style={styles.list}>
|
|
63
|
-
{slice.map((post) => (
|
|
64
|
-
<ArticleCard key={post.id} post={post} onRead={() => setSelected(post)} />
|
|
65
|
-
))}
|
|
66
|
-
{showPagination && pageCount > 1 ? (
|
|
67
|
-
<View style={styles.pagination}>
|
|
68
|
-
<Button
|
|
69
|
-
variant="ghost"
|
|
70
|
-
disabled={safePage === 0}
|
|
71
|
-
onPress={() => setPage((p) => Math.max(0, p - 1))}
|
|
72
|
-
>
|
|
73
|
-
Précédent
|
|
74
|
-
</Button>
|
|
75
|
-
<Text style={{ color: theme.colors.onBackground, opacity: 0.6 }}>
|
|
76
|
-
Page {safePage + 1} / {pageCount}
|
|
77
|
-
</Text>
|
|
78
|
-
<Button
|
|
79
|
-
variant="ghost"
|
|
80
|
-
disabled={safePage >= pageCount - 1}
|
|
81
|
-
onPress={() => setPage((p) => Math.min(pageCount - 1, p + 1))}
|
|
82
|
-
>
|
|
83
|
-
Suivant
|
|
84
|
-
</Button>
|
|
85
|
-
</View>
|
|
86
|
-
) : null}
|
|
87
|
-
<ArticleReaderModal
|
|
88
|
-
visible={!!selected}
|
|
89
|
-
post={selected}
|
|
90
|
-
onClose={() => setSelected(null)}
|
|
91
|
-
/>
|
|
92
|
-
</View>
|
|
93
|
-
);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
const styles = StyleSheet.create({
|
|
97
|
-
list: {
|
|
98
|
-
gap: 12,
|
|
99
|
-
},
|
|
100
|
-
pagination: {
|
|
101
|
-
flexDirection: "row",
|
|
102
|
-
alignItems: "center",
|
|
103
|
-
justifyContent: "center",
|
|
104
|
-
gap: 8,
|
|
105
|
-
paddingTop: 4,
|
|
106
|
-
},
|
|
107
|
-
state: {
|
|
108
|
-
minHeight: 80,
|
|
109
|
-
alignItems: "center",
|
|
110
|
-
justifyContent: "center",
|
|
111
|
-
gap: 8,
|
|
112
|
-
padding: 16,
|
|
113
|
-
},
|
|
114
|
-
});
|
|
1
|
+
import { useState, type ReactNode } from "react";
|
|
2
|
+
import { ActivityIndicator, StyleSheet, Text, View } from "react-native";
|
|
3
|
+
import { useTheme } from "../../contexts/ThemeContext";
|
|
4
|
+
import { Button } from "../button/Button";
|
|
5
|
+
import { useBlogPosts } from "../../hooks/useBlogPosts";
|
|
6
|
+
import type { BlogPost } from "../../helpers/blogPost";
|
|
7
|
+
import { ArticleCard } from "./ArticleCard";
|
|
8
|
+
import { ArticleReaderModal } from "./ArticleReaderModal";
|
|
9
|
+
|
|
10
|
+
export type ArticlePropsList = {
|
|
11
|
+
displayMode: "list";
|
|
12
|
+
itemsPerPage?: number;
|
|
13
|
+
showPagination?: boolean;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export function ArticleList({
|
|
17
|
+
itemsPerPage = 10,
|
|
18
|
+
showPagination = false,
|
|
19
|
+
}: ArticlePropsList): ReactNode {
|
|
20
|
+
const { theme } = useTheme();
|
|
21
|
+
const { posts, isLoading, error } = useBlogPosts();
|
|
22
|
+
const [page, setPage] = useState(0);
|
|
23
|
+
const [selected, setSelected] = useState<BlogPost | null>(null);
|
|
24
|
+
|
|
25
|
+
const size = Math.max(1, itemsPerPage);
|
|
26
|
+
const pageCount = Math.max(1, Math.ceil(posts.length / size));
|
|
27
|
+
const safePage = Math.min(page, pageCount - 1);
|
|
28
|
+
const slice = showPagination
|
|
29
|
+
? posts.slice(safePage * size, safePage * size + size)
|
|
30
|
+
: posts.slice(0, size);
|
|
31
|
+
|
|
32
|
+
if (isLoading && posts.length === 0) {
|
|
33
|
+
return (
|
|
34
|
+
<View style={styles.state}>
|
|
35
|
+
<ActivityIndicator color={theme.colors.primary} />
|
|
36
|
+
<Text style={{ color: theme.colors.onBackground, opacity: 0.7 }}>
|
|
37
|
+
Chargement des articles…
|
|
38
|
+
</Text>
|
|
39
|
+
</View>
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
if (error) {
|
|
44
|
+
return (
|
|
45
|
+
<View style={styles.state}>
|
|
46
|
+
<Text style={{ color: theme.colors.error, textAlign: "center" }}>{error}</Text>
|
|
47
|
+
</View>
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
if (posts.length === 0) {
|
|
52
|
+
return (
|
|
53
|
+
<View style={styles.state}>
|
|
54
|
+
<Text style={{ color: theme.colors.onBackground, opacity: 0.7 }}>
|
|
55
|
+
Aucun article pour le moment.
|
|
56
|
+
</Text>
|
|
57
|
+
</View>
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return (
|
|
62
|
+
<View style={styles.list}>
|
|
63
|
+
{slice.map((post) => (
|
|
64
|
+
<ArticleCard key={post.id} post={post} onRead={() => setSelected(post)} />
|
|
65
|
+
))}
|
|
66
|
+
{showPagination && pageCount > 1 ? (
|
|
67
|
+
<View style={styles.pagination}>
|
|
68
|
+
<Button
|
|
69
|
+
variant="ghost"
|
|
70
|
+
disabled={safePage === 0}
|
|
71
|
+
onPress={() => setPage((p) => Math.max(0, p - 1))}
|
|
72
|
+
>
|
|
73
|
+
Précédent
|
|
74
|
+
</Button>
|
|
75
|
+
<Text style={{ color: theme.colors.onBackground, opacity: 0.6 }}>
|
|
76
|
+
Page {safePage + 1} / {pageCount}
|
|
77
|
+
</Text>
|
|
78
|
+
<Button
|
|
79
|
+
variant="ghost"
|
|
80
|
+
disabled={safePage >= pageCount - 1}
|
|
81
|
+
onPress={() => setPage((p) => Math.min(pageCount - 1, p + 1))}
|
|
82
|
+
>
|
|
83
|
+
Suivant
|
|
84
|
+
</Button>
|
|
85
|
+
</View>
|
|
86
|
+
) : null}
|
|
87
|
+
<ArticleReaderModal
|
|
88
|
+
visible={!!selected}
|
|
89
|
+
post={selected}
|
|
90
|
+
onClose={() => setSelected(null)}
|
|
91
|
+
/>
|
|
92
|
+
</View>
|
|
93
|
+
);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
const styles = StyleSheet.create({
|
|
97
|
+
list: {
|
|
98
|
+
gap: 12,
|
|
99
|
+
},
|
|
100
|
+
pagination: {
|
|
101
|
+
flexDirection: "row",
|
|
102
|
+
alignItems: "center",
|
|
103
|
+
justifyContent: "center",
|
|
104
|
+
gap: 8,
|
|
105
|
+
paddingTop: 4,
|
|
106
|
+
},
|
|
107
|
+
state: {
|
|
108
|
+
minHeight: 80,
|
|
109
|
+
alignItems: "center",
|
|
110
|
+
justifyContent: "center",
|
|
111
|
+
gap: 8,
|
|
112
|
+
padding: 16,
|
|
113
|
+
},
|
|
114
|
+
});
|