assign-styles

v1.0.2
Object.assign polyfill respecting !important notation.
object.assign assign object-assign inline styles !important css in js

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.

Metadata

  • MIT
  • Whatever
  • Robin Frischmann
  • released 8/7/2015

Downloads

Maintainers