Skip to content

Commit d32aed0

Browse files
committed
chore: add display names for dom transition components
1 parent f8c6f8c commit d32aed0

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

packages/runtime-dom/src/components/Transition.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export const Transition: FunctionalComponent<TransitionProps> = (
3535
) => h(BaseTransition, resolveTransitionProps(props), slots)
3636

3737
Transition.inheritRef = true
38+
Transition.displayName = 'Transition'
3839

3940
const DOMTransitionPropsValidators = {
4041
name: String,

packages/runtime-dom/src/components/TransitionGroup.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ export type TransitionGroupProps = Omit<TransitionProps, 'mode'> & {
3737
}
3838

3939
const TransitionGroupImpl = {
40+
name: 'TransitionGroup',
41+
4042
props: extend({}, TransitionPropsValidators, {
4143
tag: String,
4244
moveClass: String

0 commit comments

Comments
 (0)