propro-common-components 0.1.98 → 0.1.99

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,10 +1,9 @@
1
- import React from 'react';
1
+ import { ReactNode } from 'react';
2
2
  declare global {
3
3
  interface NodeRequire {
4
4
  context: (directory: string, useSubdirectories?: boolean, regExp?: RegExp) => any;
5
5
  }
6
6
  }
7
7
  export type StyleType = 'line' | 'solid' | 'duotone';
8
- export declare const searchIcon: (name: string, importMethod?: string) => Promise<(() => unknown)[]>;
9
- export declare function loadIcon(name: string, style: StyleType, path?: string): Promise<(() => string | number | true | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal) | (() => null)>;
8
+ export declare function loadIcon(name: string, style: StyleType, path?: string): Promise<(() => string | number | true | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | import("react").ReactPortal) | (() => null)>;
10
9
  export declare const getAvailableStyles: (iconName: string, path?: string) => Promise<('line' | 'solid' | 'duotone')[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "propro-common-components",
3
- "version": "0.1.98",
3
+ "version": "0.1.99",
4
4
  "type": "module",
5
5
  "main": "dist/propro-common-components.js",
6
6
  "types": "dist/main.d.ts",