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
Error:
TS2786: MUIDataTable cannot be used as a JSX component.
Its type ComponentType is not a valid JSX element type.
Type ComponentClass<MUIDataTableProps, any> is not assignable to type ElementType
Type 'ComponentClass<MUIDataTableProps, any>' is not assignable to type 'new (props: any, deprecatedLegacyContext?: any) => Component<any, any, any>'.
Property refs is missing in type Component<MUIDataTableProps, any, any> but required in type Component<any, any, any>
Error:
TS2786: MUIDataTable cannot be used as a JSX component.
Its type ComponentType is not a valid JSX element type.
Type ComponentClass<MUIDataTableProps, any> is not assignable to type ElementType
Type 'ComponentClass<MUIDataTableProps, any>' is not assignable to type 'new (props: any, deprecatedLegacyContext?: any) => Component<any, any, any>'.
Property refs is missing in type Component<MUIDataTableProps, any, any> but required in type Component<any, any, any>
Versions:
"react": "18.3.0",
"@mui/material": "6.2.0",
"typescript": "5.5.4",
The text was updated successfully, but these errors were encountered: