Monaco Editor React import typescript types

46 Views Asked by At

I have a monaco editor react instance running in the browser.

I would like to import the material UI packages in, so I have access to the types in the browser editor. (@mui/material)

I imagine it is using by setExtraLib, but I am unsure how to structure it.

How would I do this import?

0

There are 0 best solutions below