Skip to content

Commit

Permalink
fix: Invalid prop validation for transitions prop (fixes #19)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasenkoo committed Apr 16, 2022
1 parent b531a3f commit 5aed8ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/VueDatePicker/utils/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export const AllProps = {
teleport: { type: [String, Object] as PropType<string | HTMLElement>, default: 'body' },
altPosition: { type: [Boolean, Function] as PropType<AltPosition>, default: false },
partialRange: { type: Boolean as PropType<boolean>, default: true },
transitions: { type: Boolean as PropType<boolean | ITransition>, default: true },
transitions: { type: [Boolean, Object] as PropType<boolean | ITransition>, default: true },
formatLocale: { type: Object as PropType<Locale>, default: null },
utc: { type: Boolean as PropType<boolean>, default: false },
ariaLabels: { type: Object as PropType<Partial<AreaLabels>>, default: () => ({}) },
Expand Down

0 comments on commit 5aed8ce

Please sign in to comment.