monaco-editor
monaco-editor copied to clipboard
[Bug] TS2786: Editor cannot be used as a JSX component.
Reproducible in vscode.dev or in VS Code Desktop?
- [X] Not reproducible in vscode.dev or VS Code Desktop
Reproducible in the monaco editor playground?
- [ ] Not reproducible in the monaco editor playground
Monaco Editor Playground Link
No response
Monaco Editor Playground Code
No response
Reproduction Steps
No response
Actual (Problematic) Behavior
Package.json
"@monaco-editor/react": "^4.6.0",
import
import { Editor } from "@monaco-editor/react";
I can't use Editor in my TSX file.
Context: I am writing a Strapi plugin
Expected Behavior
No response
Additional Context
No response
you are looking for this repo: https://github.com/suren-atoyan/monaco-react