<script lang="ts">
  import Tag from "./Tag.svelte";

  export let tags: string[] = [];
</script>

<div class="tag-list">
  {#each tags as tag (tag)}
    <Tag value={tag} />
  {/each}
</div>

<style>
  div.tag-list {
    display: flex;
    margin-top: 0.15em;
  }
</style>