Typescript declaration for conditional react props

后端 未结 0 1330
盖世英雄少女心
盖世英雄少女心 2020-12-16 23:11

I am wanting to create a React component based on a variable (isMock) and having difficulties with getting the TS declarations to work:

  const isMock: boolea         


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