import * as React from 'react'; import Box from '@mui/material/Box'; import { prefixer } from 'stylis'; import rtlPlugin from '@mui/stylis-plugin-rtl'; import { StyleSheetManager } from 'styled-components'; import { CacheProvider } from '@emotion/react'; import { createTheme, ThemeProvider } from '@mui/material/styles'; import createCache from '@emotion/cache'; import Snackbar from '@mui/material/Snackbar'; // Create rtl cache const cacheRtl = createCache({ key: 'muirtl', stylisPlugins: [prefixer, rtlPlugin], }); const theme = createTheme({ direction: 'rtl' }); export default function PositionedSnackbar() { return ( ); }