We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62e6e5f commit 3aab187Copy full SHA for 3aab187
app/components/IchimatsuDividedBar.vue
@@ -1,12 +1,7 @@
1
<script setup lang="ts">
2
-import type { CustomPropType } from '~/types/shims-vue'
3
-
4
-const props = defineProps({
5
- color: {
6
- type: String as CustomPropType<'white' | 'vue-blue' | 'hiwamoegi' | 'silver-tree' | 'sangosyu' | 'tohoh' | 'asagi' | 'timetable' | 'typescript-blue' | 'white-green'>,
7
- required: true,
8
- },
9
-})
+const props = defineProps<{
+ color: 'white' | 'vue-blue' | 'hiwamoegi' | 'silver-tree' | 'sangosyu' | 'tohoh' | 'asagi' | 'timetable' | 'typescript-blue' | 'white-green'
+}>()
10
11
const colorClass = computed(() => {
12
switch (props.color) {
0 commit comments