@rpg-engine/long-bow 0.6.79 → 0.6.80

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.
@@ -2,12 +2,12 @@ import React from 'react';
2
2
  interface IContainerStyles {
3
3
  height?: string;
4
4
  width?: string;
5
- centerContent?: boolean;
6
5
  }
7
6
  interface IProps {
8
7
  id: string;
9
8
  children: React.ReactNode;
10
9
  styles?: IContainerStyles;
10
+ centerContent?: boolean;
11
11
  }
12
12
  export declare const TabBody: React.FC<IProps>;
13
13
  export {};
@@ -31139,10 +31139,12 @@ var PagerContainer$1 = /*#__PURE__*/styled__default.div.withConfig({
31139
31139
  var TabBody = function TabBody(_ref) {
31140
31140
  var id = _ref.id,
31141
31141
  children = _ref.children,
31142
- styles = _ref.styles;
31142
+ styles = _ref.styles,
31143
+ centerContent = _ref.centerContent;
31143
31144
  return React__default.createElement(Container$p, {
31144
31145
  styles: styles,
31145
- "data-tab-id": id
31146
+ "data-tab-id": id,
31147
+ centerContent: centerContent
31146
31148
  }, children);
31147
31149
  };
31148
31150
  var Container$p = /*#__PURE__*/styled__default.div.withConfig({
@@ -31155,14 +31157,11 @@ var Container$p = /*#__PURE__*/styled__default.div.withConfig({
31155
31157
  var _props$styles2;
31156
31158
  return ((_props$styles2 = props.styles) == null ? void 0 : _props$styles2.height) || 'auto';
31157
31159
  }, function (props) {
31158
- var _props$styles3;
31159
- return (_props$styles3 = props.styles) != null && _props$styles3.centerContent ? 'flex' : 'block';
31160
+ return props.centerContent ? 'flex' : 'block';
31160
31161
  }, function (props) {
31161
- var _props$styles4;
31162
- return (_props$styles4 = props.styles) != null && _props$styles4.centerContent ? 'center' : 'initial';
31162
+ return props.centerContent ? 'center' : 'initial';
31163
31163
  }, function (props) {
31164
- var _props$styles5;
31165
- return (_props$styles5 = props.styles) != null && _props$styles5.centerContent ? 'center' : 'initial';
31164
+ return props.centerContent ? 'center' : 'initial';
31166
31165
  });
31167
31166
 
31168
31167
  var Tab$1 = function Tab(_ref) {