forked from Gitlink/forgeplus-react
10 lines
368 B
TypeScript
10 lines
368 B
TypeScript
import { CallbackProps, CommonProps, CountUpApi } from "./types";
|
|
import React from 'react';
|
|
export interface UseCountUpProps extends CommonProps, CallbackProps {
|
|
startOnMount?: boolean;
|
|
ref: string | React.RefObject<HTMLElement>;
|
|
enableReinitialize?: boolean;
|
|
}
|
|
declare const useCountUp: (props: UseCountUpProps) => CountUpApi;
|
|
export default useCountUp;
|