diegomura/react-pdf

Type error when render children inside Svg component

Open

#2235 aperta il 9 mar 2023

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)JavaScript (1116 fork)batch import
help wanted

Metriche repository

Star
 (13.687 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Property 'children' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly I want to render svg, and got this error with types

Expected behavior Expect to solve the problem with type

Screenshots

Desktop (please complete the following information):

  • OS: MacOS
  • Browser chrome 110
  • React-pdf version ^3.0.0
  • React version ^18.0.0

Guida contributor