Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

assign-styles

rofrischmann2.3kMIT2.0.0

Object.assign polyfill respecting !important notation.

object.assign, assign, object-assign, inline styles, !important, css in js

readme

assign-styles

Build Status Code Climate npm version

npm install assign-styles

ES6 Polyfill for Object.assign that respects !important notation.
This does the same as object-assign, but was made especially for style objects as they're used e.g. in React to define inline-styles.

License

assign-styles is licensed under the MIT License.
Created with ♥ by @rofrischmann.