This commit is contained in:
2026-04-21 12:45:08 +09:00
parent 6ae64d2a13
commit e63dc3efed
12 changed files with 267 additions and 325 deletions

View File

@@ -1,20 +1,20 @@
<script setup lang="ts">
type DayCell = {
key: string
label: number
date: Date
isCurrentMonth: boolean
}
<script setup>
defineProps({
monthLabel: {
type: String,
required: true,
},
days: {
type: Array,
required: true,
},
selectedKey: {
type: String,
required: true,
},
})
defineProps<{
monthLabel: string
days: DayCell[]
selectedKey: string
}>()
const emit = defineEmits<{
select: [date: Date]
}>()
const emit = defineEmits(['select'])
</script>
<template>