1.1.1 • Published 5 years ago

css-vars-ponyfill-react v1.1.1

Weekly downloads
10
License
ISC
Repository
github
Last release
5 years ago

Css Vars Ponyfill React

N|Solid

Build Status

npm module to remove problems of css vars in un supported browsers e.g Internet explorer 9+

Installation

run following command:

> npm install css-vars-ponyfill-react --save

Usage

in your main index.js or app.js file use

import { CssVarsPonyfill } from 'css-vars-ponyfill-react'

and call the function anywhere in your index.js or app.js code

CssVarsPonyfill()

and if you add external stylesheets as well (mostly required in prod builds) just use it as:

CssVarsPonyfill({
    externalStyleSheets: true
})

in case anything goes wrong, you can get the error message with the following callback function.

CssVarsPonyfill({
    externalStyleSheets: true,
    onError: (error) => {
        // your logic here
    }
})
1.1.1

5 years ago

1.1.0

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago