Add a new prop (maybe editorProps) that spreads additional properties to the monaco-editor Editor component, to allow further customization of the editor.
At a minimum, this will allow the beforeMount property of Editor to be passed, which should resolve the issue of monaco-yaml autocomplete not functioning with @monaco-editor/react (via calling monaco-yaml's configureMonacoYaml in the beforeMount handler). The Readme should also be updated to mention this requirement for monaco-yaml usage.
Add a new prop (maybe
editorProps) that spreads additional properties to themonaco-editorEditorcomponent, to allow further customization of the editor.At a minimum, this will allow the
beforeMountproperty ofEditorto be passed, which should resolve the issue ofmonaco-yamlautocomplete not functioning with@monaco-editor/react(via callingmonaco-yaml'sconfigureMonacoYamlin thebeforeMounthandler). The Readme should also be updated to mention this requirement formonaco-yamlusage.