Ionic(v4) React Menu controller

Thanks @jjdev for suggesting the solution but this is not the one I’m looking for. Actually the ion-split-pane doesn’t work either for the scenario I’m looking for.
The issue is I don’t how I’m supposed to use “open” method on the ion-menu.
For Angular or JS, there are controller to be used to create a dynamic menu but for React I couldn’t get or find any examples to show the correct way to show how to use “open” method. I have the same issue with the “present” method on the ion-popover and popover handler