'use client'; import React from 'react'; import { Box } from '@/ui/Box'; import { Button } from '@/ui/Button'; import { Surface } from '@/ui/Surface'; export type RulebookSection = 'scoring' | 'conduct' | 'protests' | 'penalties'; interface RulebookTabsProps { activeSection: RulebookSection; onSectionChange: (section: RulebookSection) => void; } export function RulebookTabs({ activeSection, onSectionChange }: RulebookTabsProps) { const sections: { id: RulebookSection; label: string }[] = [ { id: 'scoring', label: 'Scoring' }, { id: 'conduct', label: 'Conduct' }, { id: 'protests', label: 'Protests' }, { id: 'penalties', label: 'Penalties' }, ]; return ( {sections.map((section) => ( ))} ); }