How to pass variable value inside anonymous function for if else inside react

前端 未结 0 888
无人及你
无人及你 2021-02-20 08:57

I am working on a React project where the value from data context is getting passed to a variable. Since there are multiple conditions I have used if else instead of Conditional

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