imploding array values to attributes of a react component

后端 未结 0 597
陌清茗
陌清茗 2020-12-15 12:20

I have a text component with the following code

const attributes = props.attributes ? props.attributes.join(" ") : "";

  return (
    <         


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