diegomura/react-pdf

Type error when render children inside Svg component

开放

#2,235 创建于 2023年3月9日

 (4 条评论) (0 个反应) (0 位负责人)TypeScript (1,339 个派生)batch import
help wanted

仓库指标

星标
 (16,756 个星标)
PR 合并指标
 (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

贡献者指南