[DataGrid] Use explicit definition instead of React.FC #1325
Labels
component: data grid
This is the name of the generic UI component, not the React module!
core
Infrastructure work going on behind the scenes
typescript
Summary 💡
We're typing many components with
React.FC
. One of the problems with this approach is that it provides an implicit definition of thechildren
prop, even for those components that don't use it. We should favor an explicit definition instead.The text was updated successfully, but these errors were encountered: