diegomura / diegomura/react-pdf
toBlob throws an error with react-pdf elements (Svg, Defs)
Open
- Dominant language
- TypeScript
- Stars
- 16.8k
- Forks
- 1.3k
- Avg merge
- 5h 6m
- Merged PRs (30d)
- 52
Description
**Describe the bug**
toBlob throws an error with some react-pdf elements (Svg, Defs)
Error: renderFn is not a function
**To Reproduce**
Next.js,
react-pdf version: 3.3.8
With Defs, toBlob throws an error, but if I delete it and add a standard fill color to the circle, it works correctly.
Contributor guide
Assessment
This issue has not been assessed yet.