It seems that you are using the new version of the Properties panel. Did you already have a look at our example on extensions work in the property panel?
The problem arises when I try to instead of returning a
<TextFieldEntry />
, I want to return a custom element.
Whenever I do that, I have several issues.
I am trying to render a: import Calendar from 'react-calendar';
But I always get errors with context, react, preact, hooks, no errors and no rendering… “useState” not being located ever and throwing errors… So many problems.
I can’t find a single example of an external react component being rendered inside Properties Panel.