import { ArrowRight } from "@tamagui/lucide-icons"; import { Href, Link } from "expo-router"; import { GetProps, Paragraph, XStack, styled } from "tamagui"; import { Text } from "@/ui/components/typography"; const SectionContainer = styled(XStack, { alignItems: "center", justifyContent: "space-between", paddingVertical: "$2", width: "100%", }); type ScreenSectionProps = GetProps & { title: string; forwardLink?: Href; }; type ScreenSectionLinkProps = { href: Href; }; const ScreenSectionLink = ({ href }: ScreenSectionLinkProps) => ( Voir tout ); export const ScreenSection = (props: ScreenSectionProps) => { const { title, forwardLink, ...rest } = props; return ( {title} {forwardLink && } ); };