Closed sscaff1 closed 4 months ago
Summary
The interface EditorComponentOptions does not match the documentation or usage. toPreview should be able to return a JSX.Element. Fields should be optional (for example, you create a component like a horizontal rule that would have no fields).
EditorComponentOptions
toPreview
JSX.Element
Test plan
This is just changing types.
Checklist
Please add a x inside each checkbox:
x
A picture of a cute animal (not mandatory but encouraged)
Summary
The interface
EditorComponentOptions
does not match the documentation or usage.toPreview
should be able to return aJSX.Element
. Fields should be optional (for example, you create a component like a horizontal rule that would have no fields).Test plan
This is just changing types.
Checklist
Please add a
x
inside each checkbox:A picture of a cute animal (not mandatory but encouraged)