Using MUI Persistent drawer in Next.js (Layout.tsx)
Unanswered
Aerial yellowjacket posted this in #help-forum
Aerial yellowjacketOP
Hi, I am trying to use Persistent drawer from MUI in the Next.js framework and I have Page.tsx and Layout.tsx. I am a bit confused about what I can add to Layout.tsx. The Persistent drawer I have split into 3 different components of Appbar, sidenav and content components. The content components should change when links in side nav is clicked and push the content a bit to the right as it appears, exactly as the MUI example. I am not able to push the main content , so I don't know where to add <Main open={open}> . In each content component or the layout.tsx ?