0.0.9 • Published 3 years ago

stylis-prefixer v0.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

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>
  );
}
0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago