Marcus Callory
Marcus Callory

Reputation: 1

React with Material-UI Drawer and AppBar components

I am using the material-ui AppBar and the Drawer component. As you can see from my project structure every component has his own file. I can't find any documentation to trigger the Temporary drawer Button the the Menu "OPEN LEFT"-Button.

  1. Temporary drawer: https://material-ui.com/demos/drawers/
  2. App Bar with a primary search field: https://material-ui.com/demos/app-bar/

Project Structure:

App/
  App.js
Menu/
  Menu.js
Navigation/
  Navigation.js

Upvotes: 0

Views: 5154

Answers (1)

Sahil Arora
Sahil Arora

Reputation: 491

You won't find any documentation for that ... just add left menu on click of the icon button in AppBar.

If you want i can share the whole code as I have worked upon this.

Update:-

Here is the code or your reference with Both components in seperate file's
https://codesandbox.io/s/38wm039565

Do Let me know if I this was something you were looking for.

Let me know if you need any further support on this.

Cheers !!

Upvotes: 3

Related Questions