Closed ghost closed 1 year ago
I was thinking of an idea and I wanted to know if this idea makes sense - I could change the sidebar position to the left or right directly with the option true?
function App() { const [opened, setOpened] = useState(false) return ( <Main> <Button mode="strong" onClick={() => setOpened(true)}> Open the panel </Button> <SidePanel title="Panel title" left="true" opened={opened}> Sidepanel content goes here. </SidePanel> </Main> ) }
this is interesting?
Thanks for opening your first issue in aragonUI! Someone will circle back soon âš¡
Hi welcome.
thank you for feedback.
I was thinking of an idea and I wanted to know if this idea makes sense - I could change the sidebar position to the left or right directly with the option true?
source-code
this is interesting?