@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
23 lines • 636 B
text/typescript
import { CSSProperties, ComponentProps, ReactNode, Ref } from "react";
//#region src/base-ui/Statistic/type.d.ts
interface StatisticProps extends Omit<ComponentProps<'div'>, 'title' | 'prefix'> {
classNames?: {
title?: string;
value?: string;
};
formatter?: (value: number | string | undefined) => ReactNode;
loading?: boolean;
precision?: number;
prefix?: ReactNode;
ref?: Ref<HTMLDivElement>;
styles?: {
title?: CSSProperties;
value?: CSSProperties;
};
suffix?: ReactNode;
title?: ReactNode;
value?: number | string;
}
//#endregion
export { StatisticProps };
//# sourceMappingURL=type.d.mts.map