Spreading props conditionally and getting a TS error regarding props missing

后端 未结 0 642
借酒劲吻你
借酒劲吻你 2021-02-02 12:29

I am trying to spread some props conditionally but I am getting an error

Type \'{ activeStyles: { [key: string]: string; }; onClick: () => void; text: str

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