icons-pack / react-simple-icons

📦 This package provides the Simple Icons packaged as a set of React components.
MIT License
287 stars 18 forks source link

Export `IconType` to allow use outside of the package #202

Closed mwskwong closed 8 months ago

mwskwong commented 9 months ago

Currently, IconType is not publicly accessible since it is not re-exported in index.d.ts. The type can be useful for creating custom icons that are currently not available in Simple Icons but are compatible with the package.

diff --git a/node_modules/@icons-pack/react-simple-icons/index.d.ts b/node_modules/@icons-pack/react-simple-icons/index.d.ts
index b3bfab2..899e67a 100644
--- a/node_modules/@icons-pack/react-simple-icons/index.d.ts
+++ b/node_modules/@icons-pack/react-simple-icons/index.d.ts
@@ -2732,3 +2732,4 @@ export { default as SiZorin, defaultColor as SiZorinHex } from './icons/SiZorin'
 export { default as SiZotero, defaultColor as SiZoteroHex } from './icons/SiZotero';
 export { default as SiZulip, defaultColor as SiZulipHex } from './icons/SiZulip';
 export { default as SiZyte, defaultColor as SiZyteHex } from './icons/SiZyte';
+export type * from "./types"
\ No newline at end of file