ywana-core8 0.0.609 → 0.0.610

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.
@@ -2577,13 +2577,13 @@ var Viewer = function Viewer(_ref) {
2577
2577
  return /*#__PURE__*/React.createElement("div", {
2578
2578
  className: "viewer"
2579
2579
  }, /*#__PURE__*/React.createElement(Header, {
2580
- icon: {
2581
- icon: 'close',
2582
- clickable: true,
2583
- action: onClose
2584
- },
2580
+ icon: "view",
2585
2581
  title: headerTitle
2586
- }, showDetails ? '' : /*#__PURE__*/React.createElement(Icon, {
2582
+ }, onClose ? /*#__PURE__*/React.createElement(Icon, {
2583
+ icon: "close",
2584
+ clickable: true,
2585
+ action: onClose
2586
+ }) : null, showDetails ? '' : /*#__PURE__*/React.createElement(Icon, {
2587
2587
  icon: "info",
2588
2588
  clickable: true,
2589
2589
  action: toggleDetails