Skip to content

Facebook icon deprecated #1867

Description

@webdiego

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions