FIX: Type mismatches

This commit is contained in:
Robert Kossessa
2024-01-28 14:57:23 +01:00
parent dc26894dbe
commit 03588fb2be
5 changed files with 6 additions and 6 deletions

View File

@@ -39,7 +39,7 @@ defineProps({
default: 'MISSING_TITLE',
},
iconComponent: {
type: [String, Object],
type: [String, Object, Function],
default: undefined,
},
showToggle: {

View File

@@ -23,7 +23,7 @@ defineProps({
default: '',
},
icon: {
type: String,
type: [String, Object, Function],
default: '',
},
selected: {

View File

@@ -24,7 +24,7 @@
maxlength="50" />
<Label for="textarea" class="text-muted-foreground text-right mt-1 text-xs">24/50</Label>
<div class="flex items-center space-x-4 space-y-1">
<Switch id="airplane-mode" default-checked="true" />
<Switch id="airplane-mode" :default-checked="true" />
<Label
for="airplane-mode"
class="text-xs text-muted-foreground">{{