import type { DesignTheme } from './designTheme'; export type DesignTab = 'foundations' | 'components'; interface DesignHeaderProps { activeTab: DesignTab; onTabChange: (tab: DesignTab) => void; theme: DesignTheme; onThemeToggle: () => void; } const TABS: { label: string; id: DesignTab }[] = [ { label: 'Foundations', id: 'foundations' }, { label: 'Components', id: 'components' }, ]; export const DesignHeader = ({ activeTab, onTabChange, theme, onThemeToggle }: DesignHeaderProps) => { const isDark = theme.mode === 'dark'; return (
{/* 좌측: 로고 + 버전 뱃지 */}
WING-OPS
Design System v1.0
{/* 중앙: 탭 네비게이션 */} {/* 우측: 테마 토글 */}
); }; export default DesignHeader;