-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DataGrid] Rename ErrorOverlay
to GridErrorOverlay
#6946
Conversation
These are the results for the performance tests:
|
export const ErrorOverlay = React.forwardRef<HTMLDivElement, ErrorOverlayProps>( | ||
function ErrorOverlay(props: ErrorOverlayProps, ref) { | ||
export const GridErrorOverlay = React.forwardRef<HTMLDivElement, GridErrorOverlayProps>( | ||
function GridErrorOverlay(props, ref) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should include the renamed exports in the migration guide
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file was not exported previously, only being used in slots
, may be export it then?
But as it will be a new export it won't go in migration guide, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, indeed.
No need to export it then
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to mention here. The user from #6800 reused the ErrorOverlayProps
interface by importing directly this file. I don't think we need update the migration guide but we could add a comment in case he wants to try v6.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, thanks for the update!
ErrorOverlay
to GridErrorOverlay
export const ErrorOverlay = React.forwardRef<HTMLDivElement, ErrorOverlayProps>( | ||
function ErrorOverlay(props: ErrorOverlayProps, ref) { | ||
export const GridErrorOverlay = React.forwardRef<HTMLDivElement, GridErrorOverlayProps>( | ||
function GridErrorOverlay(props, ref) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to mention here. The user from #6800 reused the ErrorOverlayProps
interface by importing directly this file. I don't think we need update the migration guide but we could add a comment in case he wants to try v6.
ErrorOverlay
to GridErrorOverlay
ErrorOverlay
to GridErrorOverlay
Closes #5609