Conditional styling based on whenever there is a certain field value added by cms in React/Typescript app

后端 未结 0 474
傲寒
傲寒 2021-01-24 16:53

In my React/Typescript component I add a Link whenever the value exist/is added by CMS.

{data.link?.text && data?.link?.url && (
 

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