From a640703f2da8815dc26ad1600a6f206be1624379 Mon Sep 17 00:00:00 2001
From: ivarlovlie <git@ivarlovlie.no>
Date: Wed, 1 Jun 2022 22:10:32 +0200
Subject: feat: Initial after clean slate

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

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

diff --git a/apps/web-shared/src/components/menu/item.svelte b/apps/web-shared/src/components/menu/item.svelte
new file mode 100644
index 0000000..aeb0f99
--- /dev/null
+++ b/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

