@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.
@@ -356,6 +356,7 @@ var style = {"page-title":"_IOVGr","page-title-extra":"_mKsLu"};
356
356
 
357
357
  const Page = ({
358
358
  title,
359
+ extra: _extra = null,
359
360
  buttonProps,
360
361
  children
361
362
  }) => {
@@ -370,7 +371,7 @@ const Page = ({
370
371
  children: title
371
372
  }), /*#__PURE__*/jsx("div", {
372
373
  className: classnames('page-title-extra', style['page-title-extra']),
373
- children: buttonProps && /*#__PURE__*/jsx(ButtonGroup, _extends({}, buttonProps))
374
+ children: buttonProps ? /*#__PURE__*/jsx(ButtonGroup, _extends({}, buttonProps)) : _extra
374
375
  })]
375
376
  }), /*#__PURE__*/jsx("div", {
376
377
  children: children