File tree Expand file tree Collapse file tree 1 file changed +2
-24
lines changed
docs/data/material/customization/palette Expand file tree Collapse file tree 1 file changed +2
-24
lines changed Original file line number Diff line number Diff line change 11import Box from '@mui/material/Box' ;
22import Grid from '@mui/material/Grid' ;
33import Typography from '@mui/material/Typography' ;
4- import {
5- createTheme ,
6- ThemeProvider ,
7- useTheme ,
8- rgbToHex ,
9- styled ,
10- } from '@mui/material/styles' ;
4+ import { useTheme , rgbToHex , styled } from '@mui/material/styles' ;
115
126const Group = styled ( Typography ) ( ( { theme } ) => ( {
137 marginTop : theme . spacing ( 3 ) ,
@@ -25,7 +19,7 @@ const Color = styled(Grid)(({ theme }) => ({
2519 } ,
2620} ) ) ;
2721
28- function IntentionsInner ( ) {
22+ export default function Intentions ( ) {
2923 const theme = useTheme ( ) ;
3024
3125 const item = ( color , name ) => (
@@ -81,19 +75,3 @@ function IntentionsInner() {
8175 </ Box >
8276 ) ;
8377}
84-
85- export default function Intentions ( ) {
86- const theme = useTheme ( ) ;
87-
88- return (
89- < ThemeProvider
90- theme = { createTheme ( {
91- palette : {
92- mode : theme . palette . mode ,
93- } ,
94- } ) }
95- >
96- < IntentionsInner />
97- </ ThemeProvider >
98- ) ;
99- }
You can’t perform that action at this time.
0 commit comments