import React from 'react'; import { PropertyEditors } from './PropertyEditors'; interface PropertyPanelProps { selectedComponent?: { id: string; type: string; properties: Record; }; onPropertyChange?: (id: string, key: string, value: any) => void; } export const PropertyPanel: React.FC = ({ selectedComponent, onPropertyChange, }) => { if (!selectedComponent) { return (

No component selected

); } const handleChange = (key: string, value: any) => { onPropertyChange?.(selectedComponent.id, key, value); }; return (

Properties: {selectedComponent.type}

); };