Incompatible types between SVGPathElement and when using spread operator React Typescript

前端 未结 0 334
无人及你
无人及你 2021-01-23 19:02

I\'m trying to make a styled Path in React that accepts the same props as a native svg path:

let Path = (props: SVGPathElement) => {
    return (
        

        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题