Skip to content

Commit

Permalink
Merge pull request #7727 from mediafreakch/patch-2
Browse files Browse the repository at this point in the history
Fix global theme overrides example in docs
  • Loading branch information
fzaninotto authored May 22, 2022
2 parents 7f8e1c8 + cdc5cf5 commit cc4fcbe
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions docs/Theming.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,12 +215,14 @@ const theme = {
components: {
...defaultTheme.components,
RaDatagrid: {
root: {
backgroundColor: "Lavender",
"& .RaDatagrid-headerCell": {
backgroundColor: "MistyRose",
},
}
styleOverrides: {
root: {
backgroundColor: "Lavender",
"& .RaDatagrid-headerCell": {
backgroundColor: "MistyRose",
},
}
}
}
}
};
Expand Down

0 comments on commit cc4fcbe

Please sign in to comment.