@ttoss/ui 1.31.9 → 1.31.10
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/index.d.ts +1 -1
- package/package.json +2 -2
- package/src/components/Badge.tsx +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ type IconProps = Omit<IconifyIconProps, 'ref'>;
|
|
|
24
24
|
declare const Icon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<IconifyIconHTMLElement | null>>;
|
|
25
25
|
|
|
26
26
|
type BadgeProps = BadgeProps$1 & {
|
|
27
|
-
icon
|
|
27
|
+
icon?: IconType;
|
|
28
28
|
};
|
|
29
29
|
declare const Badge: ({ icon, children, sx, ...props }: BadgeProps) => JSX.Element;
|
|
30
30
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/ui",
|
|
3
|
-
"version": "1.31.
|
|
3
|
+
"version": "1.31.10",
|
|
4
4
|
"description": "Primitive layout, typographic, and other components for styling applications.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "ttoss",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "3a557585dfbaf2d1a4ed99b23d70ca10a72a2910"
|
|
50
50
|
}
|
package/src/components/Badge.tsx
CHANGED
|
@@ -3,7 +3,7 @@ import { type BadgeProps as BadgePropsUi, Badge as BadgeUi } from 'theme-ui';
|
|
|
3
3
|
import { Icon, IconType } from './Icon';
|
|
4
4
|
|
|
5
5
|
export type BadgeProps = BadgePropsUi & {
|
|
6
|
-
icon
|
|
6
|
+
icon?: IconType;
|
|
7
7
|
};
|
|
8
8
|
|
|
9
9
|
export const Badge = ({ icon, children, sx, ...props }: BadgeProps) => {
|