Skip to content

Commit 209e47d

Browse files
committed
suppress some demo prop warning
1 parent a414978 commit 209e47d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

playground/components/AdvancedControl.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Collapse } from 'vue-collapsed'
44
// Used for demo purposes only...
55
const props = withDefaults(
66
defineProps<{
7-
initialState: boolean
7+
initialState?: boolean
88
}>(),
99
{ initialState: true }
1010
)

playground/components/DisplayHide.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Collapse } from 'vue-collapsed'
33
44
const props = withDefaults(
55
defineProps<{
6-
initialState: boolean
6+
initialState?: boolean
77
}>(),
88
{ initialState: true }
99
)

playground/components/MountUnmount.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Collapse } from 'vue-collapsed'
33
44
const props = withDefaults(
55
defineProps<{
6-
initialState: boolean
6+
initialState?: boolean
77
}>(),
88
{ initialState: true }
99
)

0 commit comments

Comments
 (0)