deku-button
Advanced tools
+7
-2
@@ -22,7 +22,12 @@ 'use strict'; | ||
| var className = props.class, | ||
| attributes = _objectWithoutProperties(props, ['class']); | ||
| children = props.children, | ||
| attributes = _objectWithoutProperties(props, ['class', 'children']); | ||
| return (0, _magicVirtualElement2.default)('button', _extends({ 'class': ['Button', className] }, attributes)); | ||
| return (0, _magicVirtualElement2.default)( | ||
| 'button', | ||
| _extends({ 'class': ['Button', className] }, attributes), | ||
| children | ||
| ); | ||
| }; | ||
| exports.default = { render: render }; |
+1
-1
| { | ||
| "name": "deku-button", | ||
| "version": "1.2.0", | ||
| "version": "1.2.1", | ||
| "description": "Button component for deku", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
4266
1.5%21
31.25%