-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c0f2269
commit 5514a6b
Showing
18 changed files
with
278 additions
and
298 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
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
27 changes: 0 additions & 27 deletions
27
benchmark/browser/scenarios/basic-styled-components/index.js
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
27 changes: 12 additions & 15 deletions
27
benchmark/browser/scenarios/box-material-ui-styles/index.js
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,24 +1,21 @@ | ||
import * as React from 'react'; | ||
import { createMuiTheme } from '@material-ui/core/styles'; | ||
import { ThemeProvider as StylesThemeProvider } from '@material-ui/styles'; | ||
import BoxStyles from '@material-ui/core/Box'; | ||
|
||
const materialSystemTheme = createMuiTheme(); | ||
import Box from '@material-ui/core/Box'; | ||
|
||
export default function BoxMaterialUIStyles() { | ||
return ( | ||
<StylesThemeProvider theme={materialSystemTheme}> | ||
<React.Fragment> | ||
{new Array(1000).fill().map(() => ( | ||
<BoxStyles | ||
color="primary.main" | ||
bgcolor="background.paper" | ||
fontFamily="h6.fontFamily" | ||
fontSize={['h6.fontSize', 'h4.fontSize', 'h3.fontSize']} | ||
p={[2, 3, 4]} | ||
<Box | ||
width={200} | ||
height={200} | ||
borderWidth="3px" | ||
borderColor="white" | ||
backgroundColor={{ sm: 'primary.main' }} | ||
borderStyle={{ sm: 'dashed' }} | ||
> | ||
@material-ui/styles | ||
</BoxStyles> | ||
test case | ||
</Box> | ||
))} | ||
</StylesThemeProvider> | ||
</React.Fragment> | ||
); | ||
} |
27 changes: 0 additions & 27 deletions
27
benchmark/browser/scenarios/box-styled-components/index.js
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.