From 038d3dcb5521431dd929bbeac7031d6a5c48478b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Wed, 21 Apr 2021 15:25:25 +0200 Subject: [PATCH] Switches out SideNav to SideNavigation component --- packages/bbui/src/SideNavigation/Item.svelte | 3 +- .../builder/src/pages/builder/_layout.svelte | 46 ++++++++----------- 2 files changed, 21 insertions(+), 28 deletions(-) diff --git a/packages/bbui/src/SideNavigation/Item.svelte b/packages/bbui/src/SideNavigation/Item.svelte index 44a0d01d4d..17b83d1605 100644 --- a/packages/bbui/src/SideNavigation/Item.svelte +++ b/packages/bbui/src/SideNavigation/Item.svelte @@ -2,6 +2,7 @@ import { getContext } from 'svelte' const multilevel = getContext('sidenav-type'); export let href = ""; + export let external = false; export let heading = "" export let icon = ""; export let selected = false; @@ -13,7 +14,7 @@ {#if heading} {/if} - + {#if icon}
@@ -18,23 +10,23 @@