onChange(element.id, 'strokeColor', value)}
/>
onChange(element.id, 'strokeWidth', value)}
/>
onChange(element.id, 'borderRadius', value)}
/>
>
)}
{element.type === 'circle' && (
<>
onChange(element.id, 'fillColor', e.target.value)}
style={{
width: '100%',
height: '32px',
border: '1px solid #ccc',
borderRadius: '3px'
}}
/>
onChange(element.id, 'strokeColor', e.target.value)}
style={{
width: '100%',
height: '32px',
border: '1px solid #ccc',
borderRadius: '3px'
}}
/>
onChange(element.id, 'strokeWidth', value)}
/>
>
)}
{element.type === 'text' && (
<>
onChange(element.id, 'fontSize', value)}
/>
onChange(element.id, 'color', value)}
/>
>
)}
{element.type === 'image' && (
<>
onChange(element.id, 'src', e.target.value)}
placeholder="https://example.com/image.jpg"
style={{
width: '100%',
padding: '4px 8px',
border: '1px solid #ccc',
borderRadius: '3px',
fontSize: '12px'
}}
/>
>
)}
>
);
}