Updated layout. Fixed properties rendering.
This commit is contained in:
1 parent
01bfd7f52e
commit
876f4c883e
18 files changed
+214
-176
No files matched your search
@@ -0,0 +1,14 @@
|
||||
import { Button, Icon } from '@umami/react-zen';
|
||||
import { PanelLeft } from '@/components/icons';
|
||||
import { useGlobalState } from '@/components/hooks';
|
||||
|
||||
export function PanelButton() {
|
||||
const [isCollapsed, setIsCollapsed] = useGlobalState('sidenav-collapsed');
|
||||
return (
|
||||
<Button onPress={() => setIsCollapsed(!isCollapsed)} variant="quiet">
|
||||
<Icon>
|
||||
<PanelLeft />
|
||||
</Icon>
|
||||
</Button>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user