MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / readExitTransition

Function readExitTransition

packages/core/src/runtime/commit/transitions.ts:40–51  ·  view source on GitHub ↗
(vnode: VNode)

Source from the content-addressed store, hash-verified

38}
39
40function readExitTransition(vnode: VNode): TransitionSpec | null {
41 if (
42 vnode.kind !== "box" &&
43 vnode.kind !== "row" &&
44 vnode.kind !== "column" &&
45 vnode.kind !== "grid"
46 ) {
47 return null;
48 }
49 const props = vnode.props as Readonly<{ exitTransition?: TransitionSpec }> | undefined;
50 return props?.exitTransition ?? null;
51}
52
53function resolveExitAnimationState(
54 instanceId: InstanceId,

Callers 1

tryScheduleExitAnimationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected