(vnode: VNode)
| 38 | } |
| 39 | |
| 40 | function 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 | |
| 53 | function resolveExitAnimationState( |
| 54 | instanceId: InstanceId, |
no outgoing calls
no test coverage detected