Skip to content

Using @proicons/react package produces console warnings #8

Description

@alexz-prod

When importing the @proicons/react package to a project, it automatically prints 4 warnings about deprecated icons to the console, even though these icons aren't used in the project. Console output:

Icon Book Info 2 is deprecated. Use Book Info instead.
Icon PDF 2 is deprecated. Use PDF instead.
Icon Book 2 is deprecated. Use Book instead.
Icon Book Add 2 is deprecated. Use Book Add instead.

Expected behavior: No console warning unless one of these icons is actually imported

Stackblitz
https://stackblitz.com/edit/vitejs-vite-ychzk5b4?file=src%2Fmain.tsx

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⚛ reactRelated to React package🐛 bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions