-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
@react-pdf/[email protected] does not export Font
properly
#3086
Comments
Currently working around using the following in "overrides": {
"@react-pdf/types": "2.7.1"
}, |
@diegomura This is still an issue in @react-pdf/[email protected]. https://codesandbox.io/p/devbox/react-pdf-font-type-issue-4zw2v9 |
I met the same issue when Published @react-pdf/renderer v4.2.3
|
Fixed in @react-pdf/[email protected]. 👍 |
import { Font } from "@react-pdf/renderer";
The type of
Font
is no longer as expected and breaks compile of existing code.See reproduction here to see the issue:
https://codesandbox.io/p/devbox/4zw2v9
The text was updated successfully, but these errors were encountered: