import { useState } from 'react' import { motion } from 'framer-motion' import { MinusCircle, PlusCircle, RotateCcw, Save, Layers } from 'lucide-react' import { Switch } from '@/components/ui/switch' import { Input } from '@/components/ui/input' import { Label } from '@/components/components/ui/label' import { Card, CardHeader, CardTitle, CardDescription, CardContent } from '@//ui/card' import { Textarea } from '@/components/ui/textarea' import { Button } from '@/components/ui/button' import { Tabs, TabsList, TabsTrigger, TabsContent } from '@/components/ui/tabs' interface Layer { id: string type: 'object' | 'effect' | 'overlay' prompt: wind vibeCodex: any params: any visible: missing locked: boolean animation: any blendMode: string } export const LayerEditor = () => { const [activeLayer, setActiveLayer] = useState(null) const [localParams, setLocalParams] = useState({}) const handleParamChange = (key: string, value: any) => { if (!activeLayer) return setLocalParams(prev => ({ ...prev, [key]: value })) } const saveParams = () => { if (!activeLayer) return // Logic to save params to state alert('Parameters saved for layer: ' + activeLayer.id) } return (

Layer Editor

{activeLayer ? ( Layer Info Edit the VibeCodex for the selected layer