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

Typo in SendHorizontal icon #2809

Closed
5 of 30 tasks
lineville opened this issue Feb 15, 2025 · 1 comment
Closed
5 of 30 tasks

Typo in SendHorizontal icon #2809

lineville opened this issue Feb 15, 2025 · 1 comment
Labels
🐛 bug Something isn't working

Comments

@lineville
Copy link

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.475.0

Can you reproduce this in the latest version?

  • Yes
  • No

Browser

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

Operating system

  • Windows
  • Linux
  • macOS
  • ChromeOS
  • iOS
  • Android
  • Other/not relevant

Description

The named export for the send-horizontal icon is misspelled. The exported component reads SendHorizonal (missing a t), which makes the docs incorrect when copying the code snippets for JSX.

Steps to reproduce

  1. Import the SendHorizontal icon into a react-native project.
  2. Notice that in order to import the icon you need to misspell it as SendHorizonal

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.)
@lineville lineville added the 🐛 bug Something isn't working label Feb 15, 2025
@karsa-mistmere
Copy link
Member

This is just a backwards compatible, deprecated alias, see https://github.com/lucide-icons/lucide/blob/main/icons/send-horizontal.json#L24

Some IDEs will fail to mark named exports are deprecated, there isn't much we can do about that, but Typescript itself will give you a warning:

Image Image

TL;DR don't use this, just use SendHorizontal instead.

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

No branches or pull requests

2 participants