You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ts error msg
Type '{ children: Element[]; sx: { position: "relative"; width: string; }; ref: RefObject<HTMLDivElement | null>; }' is not assignable to type 'IntrinsicAttributes & ContainerBaseProps & DetailsHTMLAttributes'.
Property 'ref' does not exist on type 'IntrinsicAttributes & ContainerBaseProps & DetailsHTMLAttributes'
Steps to reproduce
Current behavior
ts error msg
Type '{ children: Element[]; sx: { position: "relative"; width: string; }; ref: RefObject<HTMLDivElement | null>; }' is not assignable to type 'IntrinsicAttributes & ContainerBaseProps & DetailsHTMLAttributes'.
Property 'ref' does not exist on type 'IntrinsicAttributes & ContainerBaseProps & DetailsHTMLAttributes'
Expected behavior
Improvements in React 19
ref-as-a-prop
ref should in PolymorphicComponentProps
Context
No response
Your environment
No response
Search keywords: react19
The text was updated successfully, but these errors were encountered: