@eduzz/houston
Advanced tools
Comparing version 0.0.27 to 0.0.28
@@ -19,4 +19,4 @@ "use strict"; | ||
return (React.createElement(styles_1.ThemeProvider, { theme: theme }, | ||
React.createElement(Button_1.default, tslib_1.__assign({}, buttonProps, { disabled: disabled || loading, startIcon: loading ? React.createElement(CircularProgress_1.default, { size: 18, color: 'inherit' }) : startIcon, variant: variant, color: 'primary', ref: ref }), children))); | ||
React.createElement(Button_1.default, tslib_1.__assign({}, buttonProps, { disabled: disabled || loading ? true : false, startIcon: loading ? React.createElement(CircularProgress_1.default, { size: 18, color: 'inherit' }) : startIcon, endIcon: loading ? null : endIcon, variant: variant, color: 'primary', ref: ref }), children))); | ||
}); | ||
exports.default = React.memo(Button); |
{ | ||
"name": "@eduzz/houston", | ||
"description": "Eduzz Components UI", | ||
"version": "0.0.27", | ||
"version": "0.0.28", | ||
"main": "./index.js", | ||
@@ -6,0 +6,0 @@ "types": "./index.d.ts", |
21582
649