From a9072370ca1eb9a5cce928b1d487db0f307edea6 Mon Sep 17 00:00:00 2001
From: ivarlovlie <git@ivarlovlie.no>
Date: Tue, 20 Sep 2022 15:24:27 +0800
Subject: feat: Move old apps into it's own directory

---
 old-apps/web-shared/src/components/menu/item.svelte | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 old-apps/web-shared/src/components/menu/item.svelte

(limited to 'old-apps/web-shared/src/components/menu/item.svelte')

diff --git a/old-apps/web-shared/src/components/menu/item.svelte b/old-apps/web-shared/src/components/menu/item.svelte
new file mode 100644
index 0000000..aeb0f99
--- /dev/null
+++ b/old-apps/web-shared/src/components/menu/item.svelte
@@ -0,0 +1,8 @@
+<script lang="ts">
+    export let danger = false;
+</script>
+<li role="menuitem" on:click>
+    <span class="menu__content {danger ? 'bg-error-lighter@hover color-white@hover' : ''}">
+        <slot/>
+    </span>
+</li>
-- 
cgit v1.3

