'use client'; import { ReactNode } from 'react'; import { Box } from '@/ui/Box'; import { Container } from '@/ui/Container'; import { Stack } from '@/ui/Stack'; import { Text } from '@/ui/Text'; interface RacesAllLayoutProps { children: ReactNode; header: ReactNode; stats: ReactNode; pagination: ReactNode; } export function RacesAllLayout({ children, header, stats, pagination }: RacesAllLayoutProps) { return ( {header} {stats} {children} {pagination} ); } export function RacesAllStats({ count, onFilterClick }: { count: number, onFilterClick: () => void }) { return ( Showing {count} races Filters ); }