ywana-core8 0.0.652 → 0.0.653
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +3 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +3 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/button.js +2 -2
package/dist/index.modern.js
CHANGED
@@ -360,7 +360,8 @@ var Button = function Button(_ref) {
|
|
360
360
|
_ref$disabled = _ref.disabled,
|
361
361
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
362
362
|
outlined = _ref.outlined,
|
363
|
-
raised = _ref.raised
|
363
|
+
raised = _ref.raised,
|
364
|
+
className = _ref.className;
|
364
365
|
|
365
366
|
function click(event) {
|
366
367
|
if (!disabled) {
|
@@ -373,7 +374,7 @@ var Button = function Button(_ref) {
|
|
373
374
|
var style = raised ? 'raised' : outlined ? 'outlined' : 'normal';
|
374
375
|
if (disabled) style = style + " disabled";
|
375
376
|
return /*#__PURE__*/React.createElement("button", {
|
376
|
-
className: "btn " + style,
|
377
|
+
className: "btn " + style + " " + className,
|
377
378
|
onClick: click
|
378
379
|
}, icon ? /*#__PURE__*/React.createElement(Icon, {
|
379
380
|
icon: icon,
|