@material-styled/theming
Advanced tools
+7
-0
@@ -17,2 +17,9 @@ "use strict"; | ||
| }; | ||
| }; | ||
| var ifProp = exports.ifProp = function ifProp(name, ifStyles) { | ||
| var elseStyles = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; | ||
| return function (props) { | ||
| return props[name] ? ifStyles : elseStyles; | ||
| }; | ||
| }; |
+1
-1
| { | ||
| "name": "@material-styled/theming", | ||
| "version": "0.0.2", | ||
| "version": "0.0.3", | ||
| "description": "Themes shortcuts for material-styled", | ||
@@ -5,0 +5,0 @@ "author": "Sergey Sova <i.am@lestad.net> (httsp://lestad.top)", |
1518
18.97%20
42.86%