Skip to content

React 19 support? #178

@ottob

Description

@ottob

Is your feature request related to a problem? Please describe.
I have tried to upgrade to react 19 (and expo 53) in my project and I now get errors when I try to use the FontAwesomeIcon component:

'FontAwesomeIcon' cannot be used as a JSX component.
Its type '(props: Props) => Element' is not a valid JSX element type.
Type '(props: Props) => Element' is not assignable to type '(props: any) => ReactNode | Promise'.
Type 'Element' is not assignable to type 'ReactNode | Promise'. (ts 2786)

Describe the solution you'd like
No errors, working icons.

Describe alternatives you've considered
None

Additional context
Im using:
"@fortawesome/react-native-fontawesome": "^0.3.2",
"react-native": "0.79.3"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions