Skip to content

Commit

Permalink
Merge branch 'master' into spread-only-direct-styles
Browse files Browse the repository at this point in the history
  • Loading branch information
jfschwarz committed Sep 2, 2016
2 parents d3bbb1b + 1a2e7ed commit 67c2d9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "substyle",
"version": "3.0.0",
"version": "3.0.1",
"description": "Universal styling for reusable React components",
"main": "lib/index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/substyle.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import invariant from 'invariant'
import { keys, values, negate, identity, flatten, merge } from 'lodash'
import { keys, values, negate, identity, flatten, merge, assign } from 'lodash'
import { filter, map, compose } from 'lodash/fp'

import { pickDirectStyles, pickNestedStyles, pickNestedStylesRecursive } from './pickStyles'
Expand Down Expand Up @@ -72,7 +72,7 @@ function createSubstyle(closureProps) {

// assign `style` and/or `className` props to the return function object
// TODO call propsDecorator function
Object.assign(substyle, propsForSpread)
assign(substyle, propsForSpread)
return substyle
}

Expand Down

0 comments on commit 67c2d9f

Please sign in to comment.