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