Skip to content

Commit

Permalink
fix(VListItem): less strict prop types
Browse files Browse the repository at this point in the history
  • Loading branch information
KaelWD committed May 31, 2022
1 parent 0cd2e64 commit 0e49930
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/vuetify/src/components/VList/VListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ export const VListItem = genericComponent<new () => {
nav: Boolean,
prependAvatar: String,
prependIcon: IconValue,
subtitle: String,
title: String,
subtitle: [String, Number, Boolean],
title: [String, Number, Boolean],
value: null,
link: Boolean,

Expand Down
2 changes: 1 addition & 1 deletion packages/vuetify/src/composables/items.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const makeItemsProps = propsFactory({
default: 'value',
},
itemChildren: {
type: [String, Array, Function] as PropType<SelectItemKey>,
type: [Boolean, String, Array, Function] as PropType<SelectItemKey>,
default: 'children',
},
itemProps: {
Expand Down

0 comments on commit 0e49930

Please sign in to comment.