-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add exports of DataGrid classNames
- Loading branch information
1 parent
98c7097
commit 88f9be4
Showing
2 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
import { gridClasses } from "@mui/x-data-grid"; | ||
|
||
/** | ||
* Class names for `DataGrid` components (src/components/DataGrid/). | ||
* | ||
* This object includes {@link gridClasses} exported from MUI's `DataGrid` package. | ||
*/ | ||
export const dataGridClassNames = { | ||
...gridClasses, | ||
rowIndexEven: "data-grid-row-index-even", | ||
rowIndexOdd: "data-grid-row-index-odd", | ||
rowIndexEven: "data-grid-row__index-even", | ||
rowIndexOdd: "data-grid-row__index-odd", | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export * from "./DataGrid"; | ||
export * from "./classNames"; | ||
export * from "./helpers"; |