You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the the onReady prop for the MarkdownEditor is typed as Function and InitializedEditorType type is not exported from the package, so there is no way to type the argument passed to the onReady function on the consumer side.
Ideally both onReady could be more specifically typed and the InitializedEditorType type exported.
Would be happy to open a PR if that's something you are open to, but perhaps I'm missing some reason why this was not done?
Thanks
The text was updated successfully, but these errors were encountered:
Hello,
Right now the the
onReady
prop for the MarkdownEditor is typed asFunction
andInitializedEditorType
type is not exported from the package, so there is no way to type the argument passed to theonReady
function on the consumer side.Ideally both
onReady
could be more specifically typed and theInitializedEditorType
type exported.Would be happy to open a PR if that's something you are open to, but perhaps I'm missing some reason why this was not done?
Thanks
The text was updated successfully, but these errors were encountered: