'use client'; import { useToolStore } from '@/store'; import type { ToolType } from '@/types'; import { Pencil, Paintbrush, Eraser, PaintBucket, MousePointer, Pipette, Type, } from 'lucide-react'; import { cn } from '@/lib/utils'; const tools: { type: ToolType; icon: React.ReactNode; label: string; shortcut: string }[] = [ { type: 'pencil', icon: , label: 'Pencil', shortcut: '1' }, { type: 'brush', icon: , label: 'Brush', shortcut: '2' }, { type: 'eraser', icon: , label: 'Eraser', shortcut: '3' }, { type: 'fill', icon: , label: 'Fill', shortcut: '4' }, { type: 'eyedropper', icon: , label: 'Eyedropper', shortcut: '5' }, { type: 'text', icon: , label: 'Text', shortcut: '6' }, { type: 'select', icon: , label: 'Select', shortcut: '7' }, ]; export function ToolPalette() { const { activeTool, setActiveTool } = useToolStore(); return ( ); }