import type { ComponentType } from 'react'; import { SegmentedNav } from '../../components/ui/surface'; interface SubTab { id: T; label: string; icon: ComponentType<{ size?: number; className?: string }>; } interface Props { tabs: readonly SubTab[]; active: T; onChange: (id: T) => void; } export default function SubTabs({ tabs, active, onChange }: Props) { return (
); }