import React from 'react' interface LabelAttrInt { label: string; handlePropertyChange: (changeTo: string, changeWith: string | boolean | number) => void; } const LabelAttr: React.FC = ({ label, handlePropertyChange }) => { return ( <>
handlePropertyChange('label', e.target.value)} type="text" className="outline-none border-1 rounded px-2 py-1 border-slate-200" />
) } export default LabelAttr