-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[docs][base] Move styles to the bottom of demos code for Snackbar
#36719
[docs][base] Move styles to the bottom of demos code for Snackbar
#36719
Conversation
Netlify deploy previewhttps://deploy-preview-36719--material-ui.netlify.app/ Bundle size report |
Snackbar
@@ -2,6 +2,32 @@ import * as React from 'react'; | |||
import { styled, keyframes, css } from '@mui/system'; | |||
import SnackbarUnstyled from '@mui/base/SnackbarUnstyled'; | |||
import { SnackbarCloseReason } from '@mui/base/useSnackbar'; | |||
export default function UnstyledSnackbar() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
export default function UnstyledSnackbar() { | |
export default function UnstyledSnackbar() { |
@@ -2,7 +2,36 @@ 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() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
export default function UseSnackbar() { | |
export default function UseSnackbar() { |
@@ -2,7 +2,36 @@ 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() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
export default function UseSnackbar() { | |
export default function UseSnackbar() { |
Part of #36498