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.umd.js
CHANGED
@@ -362,7 +362,8 @@
|
|
362
362
|
_ref$disabled = _ref.disabled,
|
363
363
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
364
364
|
outlined = _ref.outlined,
|
365
|
-
raised = _ref.raised
|
365
|
+
raised = _ref.raised,
|
366
|
+
className = _ref.className;
|
366
367
|
|
367
368
|
function click(event) {
|
368
369
|
if (!disabled) {
|
@@ -375,7 +376,7 @@
|
|
375
376
|
var style = raised ? 'raised' : outlined ? 'outlined' : 'normal';
|
376
377
|
if (disabled) style = style + " disabled";
|
377
378
|
return /*#__PURE__*/React__default["default"].createElement("button", {
|
378
|
-
className: "btn " + style,
|
379
|
+
className: "btn " + style + " " + className,
|
379
380
|
onClick: click
|
380
381
|
}, icon ? /*#__PURE__*/React__default["default"].createElement(Icon, {
|
381
382
|
icon: icon,
|