diegomura/react-pdf

Type error when render children inside Svg component

Open

#2 235 ouverte le 9 mars 2023

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)JavaScript (1 116 forks)batch import
help wanted

Métriques du dépôt

Stars
 (13 687 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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

Guide contributeur