diegomura/react-pdf

Type error when render children inside Svg component

Open

#2,235 建立於 2023年3月9日

在 GitHub 查看
 (4 留言) (0 反應) (0 負責人)JavaScript (1,116 fork)batch import
help wanted

倉庫指標

Star
 (13,687 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南