mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
feat(UIShell): only render hamburger menu if SideNav exists (#457)
* feat(UIShell): only render hamburger menu if SideNav exists * feat(SideNav): store logic moved to onMount
This commit is contained in:
parent
4b7c44994c
commit
a9e63e0038
3 changed files with 13 additions and 1 deletions
3
src/UIShell/navStore.js
Normal file
3
src/UIShell/navStore.js
Normal file
|
@ -0,0 +1,3 @@
|
|||
import { writable } from "svelte/store";
|
||||
|
||||
export const shouldRenderHamburgerMenu = writable(false);
|
Loading…
Add table
Add a link
Reference in a new issue