Comparing version 2.2.3 to 2.2.4
@@ -67,3 +67,5 @@ 'use strict'; | ||
var styles = stylesResolver(this.theme); | ||
var list = styles.get(this.props); | ||
var props = this.props; | ||
var list = styles.get(props); | ||
list.with = function () { | ||
@@ -74,4 +76,5 @@ for (var _len = arguments.length, more = Array(_len), _key = 0; _key < _len; _key++) { | ||
_electrumTheme.Styles.with(this.props, list, more); | ||
_electrumTheme.Styles.with(props, list, more); | ||
}; | ||
return list; | ||
@@ -78,0 +81,0 @@ } |
{ | ||
"name": "electrum", | ||
"version": "2.2.3", | ||
"version": "2.2.4", | ||
"description": "Electrum simplifies framework-agnostic declaration of React components.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -28,6 +28,9 @@ 'use strict'; | ||
const styles = stylesResolver (this.theme); | ||
const list = styles.get (this.props); | ||
const props = this.props; | ||
const list = styles.get (props); | ||
list.with = function (...more) { | ||
Styles.with (this.props, list, more); | ||
Styles.with (props, list, more); | ||
}; | ||
return list; | ||
@@ -34,0 +37,0 @@ } |
134532
2762