Comments (1)
Package
* [ ] lucide * [ ] lucide-angular * [ ] lucide-flutter * [ ] lucide-preact * [ ] lucide-react * [x] lucide-react-native * [ ] lucide-solid * [ ] lucide-svelte * [ ] lucide-vue * [ ] lucide-vue-next * [ ] Figma plugin * [ ] source/main * [ ] other/not relevant
Version
0.279.0
Browser
* [ ] Chrome/Chromium * [ ] Firefox * [ ] Safari * [ ] Edge * [ ] iOS Safari * [ ] Opera * [ ] Other/not relevant
Operating system
* [ ] Windows * [ ] Linux * [ ] macOS * [ ] Other/not relevant
Description
While the documentation for lucide-react-native states that you can import
icons
in order to get a list of all icons and create a generic component, the package does not in fact export this:
'"lucide-react-native"' has no exported member named 'icons'. Did you mean 'Icon'?
It's therefore not possible to create a generic icon component currently, as far as I can tell.
Steps to reproduce
1. Install the latest version of lucide-react-native into a TypeScript project 2. Try to import `icons` as per the documentation
Checklist
* [x] I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)
Same Issue
from lucide.
Related Issues (20)
- Module '"lucide-react"' has no exported member 'Notebook'.ts(2305) HOT 3
- Breaking changes between `lucide-static@307` and `lucide-static@308+` (package moved to ESM)
- Git icon HOT 8
- Map Pin Plus
- Creating new icons triggers 'unique "key" prop' error HOT 3
- Drone icon HOT 2
- List Check Icon HOT 2
- Figma plugin keeps loading and won't run HOT 6
- X-(Twiiter) New Logo HOT 1
- Icon Request: Cloud Checked Icon HOT 3
- Time Picker
- Find renamed icons HOT 1
- `Angular 18` peer dependency
- [Icon Request] Onion HOT 9
- Pill Container HOT 2
- Icon request: circle-incomplete
- Sort by date icons
- `pencil-off` icon HOT 2
- Radar chart HOT 3
- Moto HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lucide.