v0.0.2
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user