@kne/system-layout 0.1.0-alpha.6 → 0.1.0-alpha.7
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.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -370,6 +370,7 @@ var style = {"page-title":"_IOVGr","page-title-extra":"_mKsLu"};
|
|
|
370
370
|
const Page = _ref => {
|
|
371
371
|
let {
|
|
372
372
|
title,
|
|
373
|
+
extra = null,
|
|
373
374
|
buttonProps,
|
|
374
375
|
children
|
|
375
376
|
} = _ref;
|
|
@@ -384,7 +385,7 @@ const Page = _ref => {
|
|
|
384
385
|
children: title
|
|
385
386
|
}), /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
386
387
|
className: classnames__default["default"]('page-title-extra', style['page-title-extra']),
|
|
387
|
-
children: buttonProps
|
|
388
|
+
children: buttonProps ? /*#__PURE__*/jsxRuntime.jsx(ButtonGroup__default["default"], _extends({}, buttonProps)) : extra
|
|
388
389
|
})]
|
|
389
390
|
}), /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
390
391
|
children: children
|