react-native-ui-lib
Version:
<p align="center"> <img src="https://user-images.githubusercontent.com/1780255/105469025-56759000-5ca0-11eb-993d-3568c1fd54f4.png" height="250px" style="display:block"/> </p> <p align="center">UI Toolset & Components Library for React Native</p> <p a
12 lines (11 loc) • 469 B
TypeScript
export declare type TransitionViewAnimationType = 'enter' | 'exit';
export interface AnimationNotifierEndProps {
/**
* Callback to the animation end.
*/
onAnimationEnd?: (animationType: TransitionViewAnimationType) => void;
}
export default function useAnimationEndNotifier(props: AnimationNotifierEndProps): {
onEnterAnimationEnd: (isFinished?: boolean | undefined) => void;
onExitAnimationEnd: (isFinished?: boolean | undefined) => void;
};