How to type the `history` object from `useHistory` that will be passed to a function as parameter?

后端 未结 0 1924
Happy的楠姐
Happy的楠姐 2021-01-11 17:49

Using react-router-dom, so I get the history object from BrowserRouter like this:

index.tsx

imp         


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