@rocket.chat/fuselage 0.32.0-dev.412 → 0.32.0-dev.414
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.
|
@@ -2316,8 +2316,9 @@ exports.Button = (0, react_1.forwardRef)(function Button(_a, ref) {
|
|
|
2316
2316
|
return {};
|
|
2317
2317
|
}, [primary, secondary, danger, warning, success]);
|
|
2318
2318
|
return (react_1.default.createElement(Box_1.default, __assign({ is: is, type: 'button', "rcx-button": true }, kindAndVariantProps, { "rcx-button--small": small, "rcx-button--medium": medium, "rcx-button--large": large, "rcx-button--square": square, "rcx-button--tiny-square": tiny && square, "rcx-button--mini-square": mini && square, "rcx-button--small-square": small && square, "rcx-button--medium-square": medium && square, "rcx-button--large-square": large && square, ref: ref }, extraProps, props),
|
|
2319
|
-
|
|
2320
|
-
|
|
2319
|
+
react_1.default.createElement("span", { className: 'rcx-button--content' },
|
|
2320
|
+
icon && react_1.default.createElement(Icon_1.Icon, { size: 'x16', name: icon, mie: 4 }),
|
|
2321
|
+
children)));
|
|
2321
2322
|
});
|
|
2322
2323
|
exports["default"] = exports.Button;
|
|
2323
2324
|
|