Skip to content

Commit 4751694

Browse files
authored
Adding Object type as list prop type (#30)
1 parent 858b2d9 commit 4751694

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Sortable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const props = defineProps({
2727
},
2828
/** Your list of items **/
2929
list: {
30-
type: Array as PropType<any[]>,
30+
type: [Array, Object] as PropType<any[]>,
3131
default: [],
3232
required: true,
3333
},

0 commit comments

Comments
 (0)