I was trying with using React.CreateElement
in the description field and changing the type for the description field from string to IPropertyPaneField
in the interface, but this declaration exists in index-internal.ts
which is in node modules.
Please let me know how we can overwrite or change the type for the description field so it can take up the React.CreateElement
function?