0.0.1 • Published 7 years ago

swm-glamor-prefixer v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

swm-glamor-prefixer

This custom glamor prefixer allows you to use glamor with the following browser/device support.

const browserList = {
    chrome: 41, // Google search bot
    firefox: 52,
    android: 4, // mainly needed for Samsung browser
    ios_saf: 9,
    safari: 9,
    ie: 10,
    edge: 13,
}

Installing

yarn add swm-glamor-prefixer

Usage

In an entry file import applyPrefixer and call it before using glamor.

ie.

import { applyPrefixer } from 'swm-glamorous-prefixer'

applyPrefixer()