Comments (6)
Indeed, but since this version there are no exported types from react native package, so was wondering if it was connected
from lucide.
Seems like the types have been removed from exports?
any reason these arent being exported anymore?
interface LucideProps extends SvgProps {
size?: string | number;
absoluteStrokeWidth?: boolean;
'data-testid'?: string;
}
type LucideIcon = ForwardRefExoticComponent<LucideProps>;
from lucide.
@JClackett You showing types from lucide-react
.
This is about lucide-svelte
from lucide.
No probably not lucide-react-native
had an old types build script because a lot packages where still javascript files instead of typescript. We now have everything in typescript, including lucide-svelte
.
from lucide.
Created a fix in #1779. Not all types where exported 🤷🏼♂️.
The new correct syntax for import types will be:
import type { IconProps } from 'lucide-svelte'
from lucide.
Where do I import the types from in a react native project?
from lucide.
Related Issues (20)
- Archaeological artifacts/museum objects HOT 4
- Mushroom HOT 1
- Consistency between "old" feather icons and "new" lucide icons HOT 2
- Handler such like notche HOT 1
- sports icons HOT 1
- Collection of beverages HOT 2
- Images icon HOT 1
- Add `line-height` HOT 4
- Telescope icon HOT 2
- [Icon Request]: Energy Autarky for house HOT 3
- [icon request] Badge Off HOT 2
- [icon request] help, alert, info with no circle HOT 8
- [icon request] Outline or hierarchy HOT 7
- [icon request] Text square HOT 2
- [icon request] Street view
- Feminine / Masculine icons (♂, ♀ and ⚥) HOT 2
- Why battery with 24px looks small to other icons with 24px? HOT 3
- Chess pieces HOT 7
- Pickaxe HOT 2
- Facebook icon deprecated HOT 2
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.