0.0.9 • Published 1 year ago
stylis-prefixer v0.0.9
stylis-prefixer
- custom prefixer for Emotion
Prefixer
mask-composite
for webkit
Installation
$ npm i stylis-prefixer
Usage
import { CacheProvider } from "@emotion/react";
import prefixer from "stylis-prefixer";
export const prefixCache = createCache({
key: "prefix",
stylisPlugins: [prefixer],
});
function App() {
return (
<div className="App">
<CacheProvider value={prefixCache}>
<div>...children</div>
</CacheProvider>
</div>
);
}