Skip to content
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

Import type PrismTheme #206

Closed
JosueDLA opened this issue May 16, 2023 · 1 comment
Closed

Import type PrismTheme #206

JosueDLA opened this issue May 16, 2023 · 1 comment

Comments

@JosueDLA
Copy link

Hello, I just migrated to v2 and im wondering how to import the type PrismTheme.

import { PrismTheme } from "prism-react-renderer";

In v1.3.5 it was posible to use the import PrismTheme but currently im fasing the following error.

prism-react-renderer"' declares 'PrismTheme' locally, but it is not exported
@bryceknz
Copy link

bryceknz commented Sep 3, 2024

Hi @JosueDLA, thank you for reporting this issue. This was fixed in version 2.0.6 by the following PR: #216. Please update to a newer version and let us know if you still have this issue.

@bryceknz bryceknz closed this as completed Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants