I have installed react-notification-system which is working fine and producing notifications. I am trying to set it up so that I have a global container that holds the notifications so if the user navigates to a different view the notification doesn't dissapear.
My CONTAINER file is setup using the following
  render: function () {
        return (
            <div>
              <Header/>
               <section id="main">
                 <Menu/>
                { this.props.children }
                <NotificationSystem id="notificationSystem" ref="notificationSystem" />
                <Footer/>
              </section>
            </div>
        );
    }
What I am struggling with is how to reference this._notificationSystem from the child components(this.props.children)?
A notification can be added using the following from within the container file.
this._notificationSystem.addNotification({
        message: 'Notification message',
        level: 'success'
      });
 
     
     
     
    