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

Facebook icon deprecated #1867

Closed
4 of 25 tasks
webdiego opened this issue Feb 10, 2024 · 3 comments
Closed
4 of 25 tasks

Facebook icon deprecated #1867

webdiego opened this issue Feb 10, 2024 · 3 comments
Labels
🐛 bug Something isn't working

Comments

@webdiego
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.323.0

Browser

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

Operating system

  • Windows
  • Linux
  • macOS
  • Other/not relevant

Description

Hello,
when I'm importing the facebook icon I get this:

'Facebook' is deprecated.ts(6385)
lucide-react-native.d.ts(6509, 4): The declaration was marked as deprecated here.

Steps to reproduce

import { Facebook } from "lucide-react-native";

export default function Page() {
  return (
    <View className="h-full w-full px-2 py-10">
      <Text className="text-4xl text-gray-900 font-bold">Links</Text>

      <View className="mt-5">
        <Facebook color="#61A2EB" size={28} />
      </View>
    </View>
  );
}

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

We know, it's on purpose. #670 #94

@karsa-mistmere karsa-mistmere closed this as not planned Won't fix, can't repro, duplicate, stale Feb 10, 2024
@webdiego
Copy link
Author

Ok, I get it, thanks

@khanakia
Copy link

@webdiego how do i create a custom social icon using Lucide then ?

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

3 participants