React onClick Event in Functional Component

前端 未结 0 348
被撕碎了的回忆
被撕碎了的回忆 2021-01-03 02:40

I try to add an onClick event, that would show/hide a div in my functional component, can you please help why it doesn\'t work?

export default function OnClic         


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