react-codemod
react-codemod copied to clipboard
Refs required by react/19/remove-forward-ref
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>>;
}) => ();