How do I use ion-menu-controller?

Im using Ionic React and I can’t import IonMenuController… How do I use it?
I see that you can easily import MenuController in Ionic Angular, why not in Ionic React?

Got it to work! :smiley:

First I imported this:
import { menuController } from ‘@ionic/core’;

Second I made a arrow function:
const closeMenu = () => {

And third I called it in my button: