react
react copied to clipboard
A flexible icon family for React
**Describe the bug** Not really a bug, but rather a feature request. When using an icon with Next.js App Router, one would need to either use the server component version...
(This was already reported in a related issue, https://github.com/phosphor-icons/react/issues/62, but I think it's different because I don't use NextJS). I am trying to use [@swc/plugin-transform-imports](https://github.com/swc-project/plugins/tree/main/packages/transform-imports) to automatically transform the imports...
### Discussed in https://github.com/phosphor-icons/react/discussions/95 Originally posted by **diegolauar** April 23, 2024 If you get this error: Failed to resolve entry for package "@phosphor-icons/react". The package may have incorrect main/module/exports specified...