Latest updates from IceHrmPro
This commit is contained in:
38
web/node_modules/antd/lib/badge/ScrollNumber.d.ts
generated
vendored
Normal file
38
web/node_modules/antd/lib/badge/ScrollNumber.d.ts
generated
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
import * as React from 'react';
|
||||
import { ConfigConsumerProps } from '../config-provider';
|
||||
export interface ScrollNumberProps {
|
||||
prefixCls?: string;
|
||||
className?: string;
|
||||
count?: string | number | null;
|
||||
displayComponent?: React.ReactElement<HTMLElement>;
|
||||
component?: string;
|
||||
onAnimated?: Function;
|
||||
style?: React.CSSProperties;
|
||||
title?: string | number | null;
|
||||
}
|
||||
export interface ScrollNumberState {
|
||||
animateStarted?: boolean;
|
||||
count?: string | number | null;
|
||||
}
|
||||
declare class ScrollNumber extends React.Component<ScrollNumberProps, ScrollNumberState> {
|
||||
static defaultProps: {
|
||||
count: null;
|
||||
onAnimated(): void;
|
||||
};
|
||||
static getDerivedStateFromProps(nextProps: ScrollNumberProps, nextState: ScrollNumberState): {
|
||||
animateStarted: boolean;
|
||||
} | null;
|
||||
lastCount?: string | number | null;
|
||||
private timeout?;
|
||||
constructor(props: ScrollNumberProps);
|
||||
componentDidUpdate(_: any, prevState: ScrollNumberState): void;
|
||||
componentWillUnmount(): void;
|
||||
getPositionByNum(num: number, i: number): number;
|
||||
onAnimated: () => void;
|
||||
renderCurrentNumber(prefixCls: string, num: number | string, i: number): JSX.Element;
|
||||
renderNumberElement(prefixCls: string): string | number | JSX.Element[] | null | undefined;
|
||||
renderScrollNumber: ({ getPrefixCls }: ConfigConsumerProps) => React.CElement<any, React.Component<any, any, any>> | React.ReactElement<HTMLElement, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>;
|
||||
render(): JSX.Element;
|
||||
private clearTimeout;
|
||||
}
|
||||
export default ScrollNumber;
|
||||
Reference in New Issue
Block a user