Skip to content

Commit

Permalink
fix(transition): fix duration prop validation
Browse files Browse the repository at this point in the history
fix #868
  • Loading branch information
yyx990803 committed Mar 23, 2020
1 parent dff2fba commit 0dc2478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-dom/src/components/Transition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const TransitionPropsValidators = {
type: Boolean,
default: true
},
duration: Object,
duration: [String, Number, Object],
enterFromClass: String,
enterActiveClass: String,
enterToClass: String,
Expand Down

0 comments on commit 0dc2478

Please sign in to comment.