Add HTML property conditionally in React

后端 未结 0 732
旧巷少年郎
旧巷少年郎 2020-12-18 04:24

I\'m trying to add a aria-current condition in React just if my path variable is null.

{props.path.map( (values, index) => {
    const path =          


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