We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 898ba3e commit c8e712dCopy full SHA for c8e712d
1 file changed
benchmark/next-mui/src/app/page.tsx
@@ -35,15 +35,18 @@ export default function HomePage() {
35
<Box>hello</Box>
36
</Box>
37
<Typography color="$text">text</Typography>
38
- <Box color={enabled ? 'green' : 'blue'} fontSize={[32]} pr="20px">
+ <Box
39
+ sx={{ color: enabled ? 'green' : 'blue', fontSize: [32], pr: '20px' }}
40
+ >
41
hello
42
- <Box fontSize={[12, 32]}>hello</Box>
43
+ <Box sx={{ fontSize: [12, 32] }}>hello</Box>
44
<button
45
onClick={() => {
46
setColor('blue')
47
setEnabled((prev) => !prev)
48
}}
49
+ type="button"
50
>
51
Change
52
</button>
0 commit comments