diegomura/react-pdf

Type error when render children inside Svg component

Open

Aperta il 9 mar 2023

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

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