From 22b665d164b3d2411e8306d4a7dddb9a66712da1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Wed, 21 Apr 2021 14:10:24 +0200 Subject: [PATCH] Implements Tags and Tag components --- packages/bbui/src/Tags/Tag.svelte | 35 ++++++++++++++++++++---------- packages/bbui/src/Tags/Tags.svelte | 7 ++++++ 2 files changed, 31 insertions(+), 11 deletions(-) diff --git a/packages/bbui/src/Tags/Tag.svelte b/packages/bbui/src/Tags/Tag.svelte index 6e1605982c..e186514376 100644 --- a/packages/bbui/src/Tags/Tag.svelte +++ b/packages/bbui/src/Tags/Tag.svelte @@ -1,11 +1,24 @@ -
-
- Tag 1 -
-
- Tag 2 -
-
- Tag 2 -
-
\ No newline at end of file + + +
+ {#if avatar} + + {/if} + {#if icon} + + {/if} + + {#if closable} + + {/if} +
\ No newline at end of file diff --git a/packages/bbui/src/Tags/Tags.svelte b/packages/bbui/src/Tags/Tags.svelte index e69de29bb2..8eecc1dbff 100644 --- a/packages/bbui/src/Tags/Tags.svelte +++ b/packages/bbui/src/Tags/Tags.svelte @@ -0,0 +1,7 @@ + + +
+ +
\ No newline at end of file