@ericbutera/kaleido 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/admin/components/StatItem.d.ts +3 -1
- package/dist/index.js +1199 -1189
- package/package.json +1 -1
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
export default function StatItem({ icon, title, value, desc, to, }: {
|
|
2
|
+
export default function StatItem({ icon, title, value, desc, to, error, }: {
|
|
3
3
|
icon?: ReactNode;
|
|
4
4
|
title: string;
|
|
5
5
|
value?: ReactNode;
|
|
6
6
|
desc?: string;
|
|
7
7
|
/** Optional URL — wraps the card in a plain anchor link when provided. */
|
|
8
8
|
to?: string;
|
|
9
|
+
/** When set, shows an error warning icon with a tooltip instead of the value. */
|
|
10
|
+
error?: string | null;
|
|
9
11
|
}): import("react/jsx-runtime").JSX.Element;
|