@chief-editor/ui
Version:
UI Component for chief editor
9 lines (8 loc) • 366 B
TypeScript
import { RefObject } from 'react';
export interface IUseSecondChildExpandAnimationOptions {
disabled?: boolean;
duration?: number;
expanded?: boolean;
ignoreInitialRender?: boolean;
}
export declare function useSecondChildExpandAnimation(elementRef: RefObject<HTMLElement>, options: IUseSecondChildExpandAnimationOptions): () => void | (() => void);