import React from 'react'; import { FolderOpen, Type, Stamp, Music, Settings2, Hexagon, HelpCircle, Disc3 } from 'lucide-react'; export type PanelType = 'media' | 'text' | 'stickers' | 'shapes' | 'audio' | 'sfx' | null; interface StudioToolbarProps { activePanel: PanelType; setActivePanel: (panel: PanelType) => void; onShowShortcuts?: () => void; outputFormat?: 'video' | 'image'; } /** * CapCut-style sidebar toolbar (56px wide). * Each button toggles a sliding panel on the right side. * Always visible — no buttons change or disappear based on layer type. */ export const StudioToolbar: React.FC = ({ activePanel, setActivePanel, onShowShortcuts, outputFormat, }) => { const ToolButton = ({ panel, icon, label }: { panel: PanelType; icon: React.ReactNode; label: string }) => { const isActive = activePanel === panel; return ( ); }; return (
} label="Media" /> } label="Texto" /> } label="Marca" /> } label="Formas" /> {outputFormat !== 'image' && ( } label="Audio" /> )} {outputFormat !== 'image' && ( } label="SFX" /> )}
{/* Help */} {/* Settings */}
); };