Skip to content

Commit

Permalink
import styled from material/styles
Browse files Browse the repository at this point in the history
  • Loading branch information
suren-atoyan committed Jan 6, 2024
1 parent f5c6699 commit 6af9fa1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ You have access to `theme` object via `sx` prop and `styled-components`:
```js
import Box from '@mui/material/Box';
import Button from '@mui/material/Button';
import { styled } from '@mui/system';
import { styled } from '@mui/material/styles';

// styled-components
const MyCoolButton = styled(Button)(({ theme }) => ({
Expand Down
2 changes: 1 addition & 1 deletion src/components/styled.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Box from '@mui/material/Box';
import { styled } from '@mui/system';
import { styled } from '@mui/material/styles';

const FlexBox = styled(Box)({
display: 'flex',
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Welcome/styled.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { styled } from '@mui/system';
import { styled } from '@mui/material/styles';

const Image = styled('img')({
width: '10%',
Expand Down
2 changes: 1 addition & 1 deletion src/sections/Header/styled.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Button from '@mui/material/Button';
import { styled } from '@mui/system';
import { styled } from '@mui/material/styles';

const HotKeysButton = styled(Button)(({ theme }) => ({
height: 'fit-content',
Expand Down

0 comments on commit 6af9fa1

Please sign in to comment.