forgeplus-react/node_modules/react-countup/build/useCountUp.d.ts

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;