Skip to content

Commit

Permalink
feat(VExpandTransition): add group prop (vuetifyjs#19347)
Browse files Browse the repository at this point in the history
  • Loading branch information
ascott18 authored and VIXI0 committed Mar 20, 2024
1 parent f5fbaaa commit d9c967b
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,14 @@ export function createJavascriptTransition (
default: mode,
},
disabled: Boolean,
group: Boolean,
},

setup (props, { slots }) {
const tag = props.group ? TransitionGroup : Transition

return () => {
return h(Transition, {
return h(tag as FunctionalComponent, {
name: props.disabled ? '' : name,
css: !props.disabled,
// mode: props.mode, // TODO: vuejs/vue-next#3104
Expand Down

0 comments on commit d9c967b

Please sign in to comment.