UNPKG

victory-core

Version:
22 lines 796 B
type AnyObject = Record<string, any>; export type AnimationState = { nodesShouldLoad?: boolean; nodesDoneLoad?: boolean; animating?: boolean; childrenTransitions?: any[]; nodesWillExit?: boolean; nodesWillEnter?: boolean; nodesShouldEnter?: boolean; oldProps?: AnyObject; nextProps?: AnyObject; continuous?: boolean; }; export declare const useAnimationState: (initialState?: AnimationState) => { state: AnimationState; setState: (newState: AnimationState) => void; getAnimationProps: (props: AnyObject | undefined, child: any, index: any) => any; setAnimationState: (props: AnyObject | undefined, nextProps: any) => void; getProps: (initialProps: AnyObject) => AnyObject; }; export {}; //# sourceMappingURL=use-animation-state.d.ts.map