Skip to content

Refs required by react/19/remove-forward-ref #336

@RobinClowers

Description

@RobinClowers

When I ran codemod, it made refs required, which seems incorrect.

const PopoverContent = (props: React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> & {
  ref: React.RefObject<React.ElementRef<typeof PopoverPrimitive.Content>>;
}) => ();

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