[RFC] Flattening data grid components props? #894
dtassone
announced in
Early feedback
Replies: 2 comments 2 replies
-
This is a question for this thread mui/material-ui#21453. It seems that we surfaced this question in mui/material-ui#21453 (comment). |
Beta Was this translation helpful? Give feedback.
0 replies
-
I don't really have a preference but I think we should consider the case where in time the grid will grow and so we will have more and more components that can be customized. If we go with the flatten approach then it may become difficult to distinguish what is a prop that expects a component and what is something else. Grouping is nice, it keeps it cleaner. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Should we flatten the 'components' prop?
Beta Was this translation helpful? Give feedback.
All reactions