Skip to content

Return type of StickToBottom is incompatible with react < 19 #23

@wjw99830

Description

@wjw99830

Unexpected

export declare function StickToBottom(props: StickToBottomProps): ReactNode;

React Component must return ReactElement or null below 19.

Expected

export declare function StickToBottom(props: StickToBottomProps): ReactElement;

Change the return type to ReactElement.

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