UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

22 lines (21 loc) 856 B
import * as React from 'react'; import type { FormatConfig, valueType } from './utils'; import type { HTMLAriaDataAttributes } from '../_util/aria-data-attrs'; interface StatisticReactProps extends FormatConfig { prefixCls?: string; className?: string; rootClassName?: string; style?: React.CSSProperties; value?: valueType; valueStyle?: React.CSSProperties; valueRender?: (node: React.ReactNode) => React.ReactNode; title?: React.ReactNode; prefix?: React.ReactNode; suffix?: React.ReactNode; loading?: boolean; onMouseEnter?: React.MouseEventHandler<HTMLDivElement>; onMouseLeave?: React.MouseEventHandler<HTMLDivElement>; } export type StatisticProps = HTMLAriaDataAttributes & StatisticReactProps; declare const Statistic: React.FC<StatisticProps & HTMLAriaDataAttributes>; export default Statistic;