import { ComponentNode } from '@/types/project' import { Card } from '@/components/ui/card' import { Button } from '@/components/ui/button' import { Input } from '@/components/ui/input' import { Label } from '@/components/ui/label' import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select' import { Textarea } from '@/components/ui/textarea' import { Plus, Trash, Tree } from '@phosphor-icons/react' interface ComponentInspectorProps { selectedNode: ComponentNode | null muiComponents: string[] onDelete: (nodeId: string) => void onUpdate: (nodeId: string, updates: Partial) => void onAddChild: (parentId: string) => void } export function ComponentInspector({ selectedNode, muiComponents, onDelete, onUpdate, onAddChild, }: ComponentInspectorProps) { return ( {selectedNode ? (

Component Properties

onUpdate(selectedNode.id, { name: event.target.value }) } />