@popmenu/dashboard 0.172.1 → 0.172.2
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface KpiMetricProps {
|
|
3
3
|
/** The icon from @popmenu/web-icons to be rendered */
|
|
4
|
-
Icon?:
|
|
4
|
+
Icon?: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
5
5
|
/** The color of the icon */
|
|
6
6
|
iconColor?: string;
|
|
7
7
|
/** The background color of the icon */
|
|
@@ -11,7 +11,7 @@ export interface LeaderboardFilterProps extends MenuProps {
|
|
|
11
11
|
}
|
|
12
12
|
export interface LeaderboardListItemProps {
|
|
13
13
|
/** The icon to be displayed. Should be an icon component from popmenu/web-icons */
|
|
14
|
-
Icon?:
|
|
14
|
+
Icon?: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
15
15
|
/** The image to be displayed. */
|
|
16
16
|
image?: {
|
|
17
17
|
/** alt attribute for the html img. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface KpiMetricProps {
|
|
3
3
|
/** The icon from @popmenu/web-icons to be rendered */
|
|
4
|
-
Icon?:
|
|
4
|
+
Icon?: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
5
5
|
/** The color of the icon */
|
|
6
6
|
iconColor?: string;
|
|
7
7
|
/** The background color of the icon */
|
|
@@ -11,7 +11,7 @@ export interface LeaderboardFilterProps extends MenuProps {
|
|
|
11
11
|
}
|
|
12
12
|
export interface LeaderboardListItemProps {
|
|
13
13
|
/** The icon to be displayed. Should be an icon component from popmenu/web-icons */
|
|
14
|
-
Icon?:
|
|
14
|
+
Icon?: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
15
15
|
/** The image to be displayed. */
|
|
16
16
|
image?: {
|
|
17
17
|
/** alt attribute for the html img. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@popmenu/dashboard",
|
|
3
|
-
"version": "0.172.
|
|
3
|
+
"version": "0.172.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Popmenu Design System Team",
|
|
6
6
|
"description": "React dashboard components for admin app.",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"react-table": "^7.7.0"
|
|
35
35
|
},
|
|
36
36
|
"sideEffects": false,
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "f3267f589e324d8f7be518484459c95f8270c9ed"
|
|
38
38
|
}
|