diegomura/react-pdf

Type error when render children inside Svg component

オープン

#2,235 opened on 2023/03/09

 (4 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (1,339 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (16,756 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド