React testing library - how to send “anchorEl” as prop?

前端 未结 0 683
被撕碎了的回忆
被撕碎了的回忆 2020-12-15 14:39

I have a component that displays material-ui menu, and gets the anchorEl from the parent component. I want to test this component, but I don\'t know what should I send as th

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