11 lines
268 B
TypeScript
11 lines
268 B
TypeScript
type UseAnimationStateProps = {
|
|
isOpen: boolean;
|
|
ref: React.RefObject<HTMLElement>;
|
|
};
|
|
declare function useAnimationState(props: UseAnimationStateProps): {
|
|
present: boolean;
|
|
onComplete(): void;
|
|
};
|
|
|
|
export { UseAnimationStateProps, useAnimationState };
|