What typescript type do I assign d3.select() in order to be able select the SVG element using useRef hook?

后端 未结 0 1759
挽巷
挽巷 2021-01-13 12:07

Im trying to add the correct type to my d3.select statement in order set the mySVG variable.

function App() {
  const [mySVG, setMySVG] = useState

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