Latest updates from IceHrmPro
This commit is contained in:
16
web/node_modules/antd/lib/statistic/utils.d.ts
generated
vendored
Normal file
16
web/node_modules/antd/lib/statistic/utils.d.ts
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
import * as React from 'react';
|
||||
export declare type valueType = number | string;
|
||||
export declare type countdownValueType = valueType | string;
|
||||
export declare type Formatter = false | 'number' | 'countdown' | ((value: valueType, config?: FormatConfig) => React.ReactNode);
|
||||
export interface FormatConfig {
|
||||
formatter?: Formatter;
|
||||
decimalSeparator?: string;
|
||||
groupSeparator?: string;
|
||||
precision?: number;
|
||||
prefixCls?: string;
|
||||
}
|
||||
export interface CountdownFormatConfig extends FormatConfig {
|
||||
format?: string;
|
||||
}
|
||||
export declare function formatTimeStr(duration: number, format: string): string;
|
||||
export declare function formatCountdown(value: countdownValueType, config: CountdownFormatConfig): string;
|
||||
Reference in New Issue
Block a user