-
-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Link is not exposed in vocs/components #140
Comments
I face the same error when I import any component from
|
If you want to use |
Description
vocs/app/components/Link.js
is not exported fromvocs/components
, which makes it difficult to use links in custom tsx components, if we want them to be styled the same as in mdx.It is also the case for a few other components.
Fix
I tried patching Vocs to export it from
vocs/components
, but it's generating an error:On the page:
In the console:
I'm not sure what I'm doing wrong here, since I could not really relate to the instances of this error I could find online.
Edit
Found out it's pretty easy to replicate, so I'm not sure if it should be exported (also apologies if it's intentional actually).
The text was updated successfully, but these errors were encountered: