@2hoch1/pixel-icon-library-react 1.1.0-rc.3 → 1.1.0-rc.4
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.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -461,7 +461,7 @@ type PixelIconProps = SVGProps<SVGSVGElement> & {
|
|
|
461
461
|
title?: string;
|
|
462
462
|
fallback?: ReactNode;
|
|
463
463
|
};
|
|
464
|
-
declare function PixelIcon({ name, variant, size, title, fallback, ...rest }: PixelIconProps): string | number | boolean | react_jsx_runtime.JSX.Element |
|
|
464
|
+
declare function PixelIcon({ name, variant, size, title, fallback, ...rest }: PixelIconProps): string | number | boolean | Iterable<ReactNode> | react_jsx_runtime.JSX.Element | null;
|
|
465
465
|
|
|
466
466
|
interface DynamicPixelIconProps extends Omit<SVGProps<SVGSVGElement>, 'ref'> {
|
|
467
467
|
name: IconName;
|
|
@@ -473,7 +473,7 @@ interface DynamicPixelIconProps extends Omit<SVGProps<SVGSVGElement>, 'ref'> {
|
|
|
473
473
|
* DynamicPixelIcon - Lazy-loads icons at runtime for better code-splitting.
|
|
474
474
|
* Falls back to `fallback` or null if the icon cannot be resolved.
|
|
475
475
|
*/
|
|
476
|
-
declare const DynamicPixelIcon: ({ name, variant, size, fallback, ...props }: DynamicPixelIconProps) => string | number | boolean | react_jsx_runtime.JSX.Element |
|
|
476
|
+
declare const DynamicPixelIcon: ({ name, variant, size, fallback, ...props }: DynamicPixelIconProps) => string | number | boolean | Iterable<ReactNode> | react_jsx_runtime.JSX.Element | null;
|
|
477
477
|
|
|
478
478
|
/**
|
|
479
479
|
* Minimal SVG element names supported by the icon set.
|
package/dist/index.d.ts
CHANGED
|
@@ -461,7 +461,7 @@ type PixelIconProps = SVGProps<SVGSVGElement> & {
|
|
|
461
461
|
title?: string;
|
|
462
462
|
fallback?: ReactNode;
|
|
463
463
|
};
|
|
464
|
-
declare function PixelIcon({ name, variant, size, title, fallback, ...rest }: PixelIconProps): string | number | boolean | react_jsx_runtime.JSX.Element |
|
|
464
|
+
declare function PixelIcon({ name, variant, size, title, fallback, ...rest }: PixelIconProps): string | number | boolean | Iterable<ReactNode> | react_jsx_runtime.JSX.Element | null;
|
|
465
465
|
|
|
466
466
|
interface DynamicPixelIconProps extends Omit<SVGProps<SVGSVGElement>, 'ref'> {
|
|
467
467
|
name: IconName;
|
|
@@ -473,7 +473,7 @@ interface DynamicPixelIconProps extends Omit<SVGProps<SVGSVGElement>, 'ref'> {
|
|
|
473
473
|
* DynamicPixelIcon - Lazy-loads icons at runtime for better code-splitting.
|
|
474
474
|
* Falls back to `fallback` or null if the icon cannot be resolved.
|
|
475
475
|
*/
|
|
476
|
-
declare const DynamicPixelIcon: ({ name, variant, size, fallback, ...props }: DynamicPixelIconProps) => string | number | boolean | react_jsx_runtime.JSX.Element |
|
|
476
|
+
declare const DynamicPixelIcon: ({ name, variant, size, fallback, ...props }: DynamicPixelIconProps) => string | number | boolean | Iterable<ReactNode> | react_jsx_runtime.JSX.Element | null;
|
|
477
477
|
|
|
478
478
|
/**
|
|
479
479
|
* Minimal SVG element names supported by the icon set.
|