'use client'; import { useLayerStore } from '@/store'; import { Eye, EyeOff, Trash2 } from 'lucide-react'; import { cn } from '@/lib/utils'; export function LayersPanel() { const { layers, activeLayerId, setActiveLayer, updateLayer, deleteLayer } = useLayerStore(); // Sort layers by order (highest first) const sortedLayers = [...layers].sort((a, b) => b.order - a.order); return (
No layers
{layer.name}
{layer.width} × {layer.height}