@atlaskit/motion
Version:
A set of utilities to apply motion in your application.
11 lines (10 loc) • 467 B
TypeScript
import { type ReactNode } from 'react';
/**
* Separates a container's presence from its content. Place inside the component
* that owns the container animation, so descendants cannot complete its exit.
* Restores standalone presence rather than disabling motion: explicit animations
* and nested ExitingPersistence boundaries retain their own lifecycle.
*/
export default function MotionPresenceBoundary({ children }: {
children: ReactNode;
}): JSX.Element;