Edit browse locations section
Create badge atom,
This commit is contained in:
8
src/components/atoms/Badge.svelte
Normal file
8
src/components/atoms/Badge.svelte
Normal file
@@ -0,0 +1,8 @@
|
||||
<script lang="ts">
|
||||
export let text: string
|
||||
export let size: string = 'small'
|
||||
</script>
|
||||
|
||||
<div class="badge badge--{size}">
|
||||
<span>{text}</span>
|
||||
</div>
|
||||
Reference in New Issue
Block a user