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.cjs
CHANGED
@@ -368,7 +368,8 @@ var Button = function Button(_ref) {
|
|
368
368
|
_ref$disabled = _ref.disabled,
|
369
369
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
370
370
|
outlined = _ref.outlined,
|
371
|
-
raised = _ref.raised
|
371
|
+
raised = _ref.raised,
|
372
|
+
className = _ref.className;
|
372
373
|
|
373
374
|
function click(event) {
|
374
375
|
if (!disabled) {
|
@@ -381,7 +382,7 @@ var Button = function Button(_ref) {
|
|
381
382
|
var style = raised ? 'raised' : outlined ? 'outlined' : 'normal';
|
382
383
|
if (disabled) style = style + " disabled";
|
383
384
|
return /*#__PURE__*/React__default["default"].createElement("button", {
|
384
|
-
className: "btn " + style,
|
385
|
+
className: "btn " + style + " " + className,
|
385
386
|
onClick: click
|
386
387
|
}, icon ? /*#__PURE__*/React__default["default"].createElement(Icon, {
|
387
388
|
icon: icon,
|