'use client'; import { useToolStore } from '@/store'; import type { ToolType } from '@/types'; import { Pencil, Paintbrush, Eraser, PaintBucket, Blend, MousePointer, Pipette, Type, Stamp, Droplet, Sun, Crop, } 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: 'gradient', icon: , label: 'Gradient (Drag to create)', shortcut: 'G' }, { type: 'eyedropper', icon: , label: 'Eyedropper', shortcut: '5' }, { type: 'text', icon: , label: 'Text', shortcut: '6' }, { type: 'select', icon: , label: 'Select', shortcut: '7' }, { type: 'crop', icon: , label: 'Crop', shortcut: 'C' }, { type: 'clone', icon: , label: 'Clone Stamp (Alt+Click source)', shortcut: '8' }, { type: 'smudge', icon: , label: 'Smudge', shortcut: '9' }, { type: 'dodge', icon: , label: 'Dodge/Burn (Alt for burn)', shortcut: '0' }, ]; export function ToolPalette() { const { activeTool, setActiveTool } = useToolStore(); return ( ); }