formatted
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
'use client'
|
||||
"use client";
|
||||
import createCache from "@emotion/cache";
|
||||
import {prefixer} from "stylis";
|
||||
import { prefixer } from "stylis";
|
||||
import stylisRTLPlugin from "stylis-plugin-rtl";
|
||||
import {CacheProvider} from "@emotion/react";
|
||||
import { CacheProvider } from "@emotion/react";
|
||||
|
||||
const cache = createCache({
|
||||
key: 'mui-rtl',
|
||||
key: "mui-rtl",
|
||||
stylisPlugins: [prefixer, stylisRTLPlugin],
|
||||
});
|
||||
|
||||
const cacheProviderRtl = (props) => {
|
||||
return <CacheProvider value={cache}>{props.children}</CacheProvider>;
|
||||
}
|
||||
};
|
||||
|
||||
export default cacheProviderRtl
|
||||
export default cacheProviderRtl;
|
||||
|
||||
Reference in New Issue
Block a user