<script setup lang="ts">
import './styles.scss'

import Note from './Note.vue'
import type { TNote } from './types.js'

const notes: TNote[] = [
  { id: 'note-1', content: 'Some random note text' },
  { id: 'note-2', content: 'Some really random note text' },
]
</script>

<template>
  <template v-for="note in notes" :key="note.id">
    <Note :note="note" />
  </template>
</template>
