@loja-integrada/admin-components 0.9.2 → 0.9.3
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/admin-components.cjs.development.js +1 -0
- package/dist/admin-components.cjs.development.js.map +1 -1
- package/dist/admin-components.cjs.production.min.js +1 -1
- package/dist/admin-components.cjs.production.min.js.map +1 -1
- package/dist/admin-components.esm.js +1 -0
- package/dist/admin-components.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/Layout/ActionBar/ActionBar.stories.tsx +8 -7
- package/src/Layout/ActionBar/ActionBar.tsx +19 -16
|
@@ -2703,6 +2703,7 @@ var ActionBarComponent = function ActionBarComponent(_ref) {
|
|
|
2703
2703
|
className: "lg:hidden"
|
|
2704
2704
|
}, React__default.Children.map(children, function (_ref3) {
|
|
2705
2705
|
var props = _ref3.props;
|
|
2706
|
+
if (!props.children) return;
|
|
2706
2707
|
return React__default.createElement("button", {
|
|
2707
2708
|
className: 'px-4 py-1 text-base-1' + (props != null && props.loading ? ' pointer-events-none' : ''),
|
|
2708
2709
|
onClick: props == null ? void 0 : props.onClick
|