diegomura/react-pdf

Type error when render children inside Svg component

Open

#2.235 aberto em 9 de mar. de 2023

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)JavaScript (1.116 forks)batch import
help wanted

Métricas do repositório

Stars
 (13.687 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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

Guia do colaborador