You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The icons are typed as PopiconsHomeStyleDuotone, PopiconsHomeStyleSolid, PopiconsHomeStyleLine etc. in popicons.d.ts but are exported as PopiconsHomeDuotone, PopiconsHomeSolid, PopiconsHomeLine etc. in popicons.js in the npm package. This is leading to undefined errors as TS is forcing to import PopiconsHomeStyleLine but it doesn't actually exists. Importing PopiconsHomeLine works but it gives a TS error 😄
Also it gives Property 'React' doesn't exist error even after importing PopiconsHomeLine instead of PopiconsHomeStyleLine which was resolved after adding import React from 'react'; in popicons.js (or maybe you are running an older version of React?)
Would be great if you can have a look!
The text was updated successfully, but these errors were encountered:
Firstly, thanks for the clean set of icons 🙌
Coming to the issues,
PopiconsHomeStyleDuotone
,PopiconsHomeStyleSolid
,PopiconsHomeStyleLine
etc. inpopicons.d.ts
but are exported asPopiconsHomeDuotone
,PopiconsHomeSolid
,PopiconsHomeLine
etc. inpopicons.js
in the npm package. This is leading toundefined
errors as TS is forcing to importPopiconsHomeStyleLine
but it doesn't actually exists. ImportingPopiconsHomeLine
works but it gives a TS error 😄Property 'React' doesn't exist
error even after importingPopiconsHomeLine
instead ofPopiconsHomeStyleLine
which was resolved after addingimport React from 'react';
inpopicons.js
(or maybe you are running an older version of React?)Would be great if you can have a look!
The text was updated successfully, but these errors were encountered: