UPDATE: IONIC 6+ React

Imports

import { listOutline } from 'ionicons/icons';
import { IonContentIonHeaderIonPageIonTitleIonToolbarIonIconIonMenuToggleIonButtonIonButtons } from '@ionic/react';

 IonMenuToggle

        <IonMenuToggle>
          <IonButton color="success" >
            <IonIcon icon={listOutline} /> Open Side Menu
        </IonButton>
        </IonMenuToggle>

Here is a simple video I found in 2021. Ionic Framework Horizontal & SideMenu Navigation in ReactJS Application

S7whj93SGsA

ion-menu-toggle

To close the side menu button in an ionic project, simple use the ion-menu-toggle tag and a button. For example, this is how the code will look like for example:

<ion-menu-togle>
    <ion-button color="danger">Close</ion-button>
</ion-menu-toggle>

Hope that works for you.