diff --git a/packages/runtime-dom/src/components/Transition.ts b/packages/runtime-dom/src/components/Transition.ts index e5353004..13fd0f3f 100644 --- a/packages/runtime-dom/src/components/Transition.ts +++ b/packages/runtime-dom/src/components/Transition.ts @@ -32,8 +32,8 @@ export interface TransitionProps extends BaseTransitionProps { // DOM Transition is a higher-order-component based on the platform-agnostic // base Transition component, with DOM-specific logic. -export const Transition: FunctionalComponent = ( - props: TransitionProps, +export const Transition: FunctionalComponent = ( + props, { slots } ) => h(BaseTransition, resolveTransitionProps(props), slots)