Proper Typescript type for a reused screen in react-navigation v5

后端 未结 0 1700
-上瘾入骨i
-上瘾入骨i 2020-12-23 17:15

For most of the cases, I follow a simple pattern to type any screen under react-navigation v5:

// Params definition
type RouteParamsList = {
    Screen1: {
           


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