Support a base set of NPM packages for building custom React Components (e.g. Playground) #1653
michielmulders
started this conversation in
Feature Requests
Replies: 1 comment 2 replies
-
|
+1, would love to see react-zoom-pan-pinch and codemirror's packages available for import and use. Currently, one can only use packages that have UMD builds — by importing them via injecting a new |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to design a custom component, but I'm unable to install any dependencies myself using NPM.
For example, I'm designing a custom code component where the user can input an API key, modify the request, and then send it to our backend. The returned response is then shown below the request. This allows them to play with the different requests from the docs on their own accounts, building an interactive playground as it is.
However, I'm missing a syntax highlighting package. I tried installing it via NPM but this had no effect. I would like Mintlify to embed/install a base set of packages that help clients quickly build interesting components like an interactive playground. This would make the custom component feature much more useful and it can kickstart a small community/marketplace where users can find cool plugins to improve their docs.
E.g. prism react render for syntax highlighting
E.g. what I'm trying to build:

Thanks,
Michiel
Beta Was this translation helpful? Give feedback.
All reactions