Giter Site home page Giter Site logo

Icon not imported about lucide HOT 7 CLOSED

chk7964 avatar chk7964 commented on May 27, 2024
Icon not imported

from lucide.

Comments (7)

karsa-mistmere avatar karsa-mistmere commented on May 27, 2024 2

Aliases are apparently not exported in the UMD builds of our react, preact, vue and vue-next packages, I've submitted a PR.

from lucide.

karsa-mistmere avatar karsa-mistmere commented on May 27, 2024

@chk7964: I can't reproduce this issue using react 18.2, can you make absolutely sure that your lucide-react is definitely at v0.308.0?

from lucide.

timrittgers avatar timrittgers commented on May 27, 2024

We are seeing a similar issue but our build reports that lucide has no exported member ‘PenSquare.’ This began happening today when upgrading our system from v0.307.0 to v0.309.0

from lucide.

timrittgers avatar timrittgers commented on May 27, 2024

The PR linked closing this issue doesn’t appear to have fixed the issue for us. We are still getting the message that PenSquare is not an exported member of Lucide, when consuming v0.311.0.

from lucide.

ericfennis avatar ericfennis commented on May 27, 2024

@timrittgers Not sure what is happening in your environment. I've tested this with 0.314.0, works here. https://stackblitz.com/edit/stackblitz-starters-j3hphp?file=src%2FApp.tsx

from lucide.

timrittgers avatar timrittgers commented on May 27, 2024

Was able to determine that sometime the icon name PenSquare was changed to SquarePen, which was a breaking change for our code.

from lucide.

ericfennis avatar ericfennis commented on May 27, 2024

@timrittgers Hmm, that's weird. Both should work, see https://stackblitz.com/edit/stackblitz-starters-j3hphp?file=src%2FApp.tsx

from lucide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.