assign-styles
v1.0.0 object.assign assign object-assign inline styles !important css in js
assign-styles
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.
npm i [email protected]
Metadata
- MIT
- Whatever
- Robin Frischmann
- released 7/23/2015