Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot import LucideProps from lucide-react-native for version 0.304 and above #1791

Closed
4 of 25 tasks
ammarfaris opened this issue Jan 10, 2024 · 0 comments · Fixed by #1809
Closed
4 of 25 tasks

Cannot import LucideProps from lucide-react-native for version 0.304 and above #1791

ammarfaris opened this issue Jan 10, 2024 · 0 comments · Fixed by #1809
Labels
🐛 bug Something isn't working

Comments

@ammarfaris
Copy link

ammarfaris commented Jan 10, 2024

Package

  • lucide
  • lucide-angular
  • lucide-flutter
  • lucide-preact
  • lucide-react
  • lucide-react-native
  • lucide-solid
  • lucide-svelte
  • lucide-vue
  • lucide-vue-next
  • Figma plugin
  • source/main
  • other/not relevant

Version

0.304.0

Browser

  • Chrome/Chromium
  • Firefox
  • Safari
  • Edge
  • iOS Safari
  • Opera
  • Other/not relevant

Operating system

  • Windows
  • Linux
  • macOS
  • Other/not relevant

Description

Prior to lucide-react-native version 0.304.0 (i.e. version 0.303.0 / 0.302.0),

I can import { LucideProps } from 'lucide-react-native'

now (version 0.304.0 and tested on version 0.308.0) I receive this ts error:

'"lucide-react-native"' has no exported member named 'LucideProps'. Did you mean 'LucideCrop'?

Steps to reproduce

  1. Upgrade lucide-react-native to 0.304.0 (or anything above 0.303.0)
  2. Then try import { LucideProps } from 'lucide-react-native'

Checklist

  • 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.)
@ammarfaris ammarfaris added the 🐛 bug Something isn't working label Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant