I want an onClick button to update my state with a random object from array on every click

前端 未结 0 728
礼貌的吻别
礼貌的吻别 2021-02-13 20:38

So,this should be pretty simple but I\'m really struggling. I want to make a quote generator. I have an array of objects, each containing a quote and it\'s author.

I have

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