chore: default transition css prop to true

This commit is contained in:
Evan You 2019-11-29 17:38:29 -05:00
parent 6d254da532
commit 22957436e8

View File

@ -41,9 +41,10 @@ export const TransitionPropsValidators = {
...(BaseTransition as any).props,
name: String,
type: String,
// Cannot use Boolean otherwise it will be force casted to false when
// omitted
css: null,
css: {
type: Boolean,
default: true
},
duration: Object,
enterFromClass: String,
enterActiveClass: String,