@bento-core/paginated-table 1.0.1-ccdihub.77 → 1.0.1-ccdihub.78

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.
@@ -141,7 +141,7 @@ const CustomLayout = props => {
141
141
  }, /*#__PURE__*/_react.default.createElement(_core.Container, {
142
142
  maxWidth: container.size,
143
143
  className: container.clsName
144
- }, container.items.map(item => /*#__PURE__*/_react.default.createElement(ViewComponent, _extends({}, item, props)))));
144
+ }, container.text && /*#__PURE__*/_react.default.createElement("p", null, /*#__PURE__*/_react.default.createElement("span", null, container.textTitle), container.text), container.items.map(item => /*#__PURE__*/_react.default.createElement(ViewComponent, _extends({}, item, props)))));
145
145
  }));
146
146
  };
147
147
  const CustomWrapper = props => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bento-core/paginated-table",
3
- "version": "1.0.1-ccdihub.77",
3
+ "version": "1.0.1-ccdihub.78",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "build": "npm run lint && cross-env-shell rm -rf dist && NODE_ENV=production BABEL_ENV=es babel src --out-dir dist --copy-files",
@@ -126,6 +126,15 @@ const CustomLayout = (props) => {
126
126
  maxWidth={container.size}
127
127
  className={container.clsName}
128
128
  >
129
+ {
130
+ container.text
131
+ && (
132
+ <p>
133
+ <span>{container.textTitle}</span>
134
+ {container.text}
135
+ </p>
136
+ )
137
+ }
129
138
  {container.items.map((item) => (
130
139
  <ViewComponent
131
140
  {...item}