Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
michaldudak committed Apr 28, 2023
1 parent 39651cc commit 67cd936
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export default function TransitionComponentSnackbar() {
</React.Fragment>
);
}

const blue = {
50: '#F0F7FF',
100: '#DAECFF',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import CheckRoundedIcon from '@mui/icons-material/CheckRounded';
import CloseIcon from '@mui/icons-material/Close';
import Snackbar from '@mui/base/Snackbar';
import { SnackbarCloseReason } from '@mui/base/useSnackbar';

export default function TransitionComponentSnackbar() {
const [open, setOpen] = React.useState(false);
const [exited, setExited] = React.useState(true);
Expand Down Expand Up @@ -80,6 +81,7 @@ export default function TransitionComponentSnackbar() {
</React.Fragment>
);
}

const blue = {
50: '#F0F7FF',
100: '#DAECFF',
Expand Down
1 change: 1 addition & 0 deletions docs/data/base/components/snackbar/UnstyledSnackbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import * as React from 'react';
import { styled, keyframes, css } from '@mui/system';
import Snackbar from '@mui/base/Snackbar';
import { SnackbarCloseReason } from '@mui/base/useSnackbar';

export default function UnstyledSnackbar() {
const [open, setOpen] = React.useState(false);

Expand Down
2 changes: 2 additions & 0 deletions docs/data/base/components/snackbar/UseSnackbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import * as React from 'react';
import useSnackbar from '@mui/base/useSnackbar';
import ClickAwayListener from '@mui/base/ClickAwayListener';
import { css, keyframes, styled } from '@mui/system';

export default function UseSnackbar() {
const [open, setOpen] = React.useState(false);

Expand Down Expand Up @@ -32,6 +33,7 @@ export default function UseSnackbar() {
</React.Fragment>
);
}

const blue = {
50: '#F0F7FF',
400: '#3399FF',
Expand Down
2 changes: 2 additions & 0 deletions docs/data/base/components/snackbar/UseSnackbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import * as React from 'react';
import useSnackbar from '@mui/base/useSnackbar';
import ClickAwayListener from '@mui/base/ClickAwayListener';
import { css, keyframes, styled } from '@mui/system';

export default function UseSnackbar() {
const [open, setOpen] = React.useState(false);

Expand Down Expand Up @@ -32,6 +33,7 @@ export default function UseSnackbar() {
</React.Fragment>
);
}

const blue = {
50: '#F0F7FF',
400: '#3399FF',
Expand Down

0 comments on commit 67cd936

Please sign in to comment.