chore: add some types (#1790)

Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1790
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
This commit is contained in:
Dominik Pschenitschni 2022-04-10 18:56:14 +00:00 committed by konrad
parent 656c020125
commit 53c669b108
4 changed files with 5 additions and 1 deletions

View file

@ -43,6 +43,7 @@ const props = defineProps({
default: 'primary',
},
icon: {
type: String,
default: '',
},
loading: {

View file

@ -1,7 +1,7 @@
<template>
<div class="color-picker-container">
<datalist :id="colorListID">
<option v-for="color in defaultColors" :key="color" :value="color" />
<option v-for="defaultColor in defaultColors" :key="defaultColor" :value="defaultColor" />
</datalist>
<div class="picker">
@ -60,6 +60,7 @@ export default defineComponent({
},
props: {
modelValue: {
type: String,
required: true,
},
menuPosition: {

View file

@ -60,6 +60,7 @@ export default defineComponent({
},
},
disabled: {
type: Boolean,
default: false,
},
},

View file

@ -72,6 +72,7 @@ export default defineComponent({
required: true,
},
disabled: {
type: Boolean,
default: false,
},
},