@portnet/ui 0.1.8 → 0.1.10

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.
@@ -145,7 +145,7 @@ const PuiSearchPage = _ref2 => {
145
145
  loadingPosition: "start",
146
146
  children: "Rechercher"
147
147
  })
148
- }), additionalActions && additionalActions.map((actionItem, index) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiGrid.default, {
148
+ }), additionalActions.map((actionItem, index) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiGrid.default, {
149
149
  item: true,
150
150
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiButton.default, {
151
151
  color: "primary",
@@ -181,11 +181,12 @@ PuiSearchPage.propTypes = {
181
181
  additionalActions: _propTypes.default.arrayOf(_propTypes.default.shape({
182
182
  name: _propTypes.default.string.isRequired,
183
183
  action: _propTypes.default.func.isRequired,
184
- iconType: _propTypes.default.string
184
+ icon: _propTypes.default.element
185
185
  }))
186
186
  };
187
187
  PuiSearchPage.defaultProps = {
188
188
  formik: true,
189
- loading: false
189
+ loading: false,
190
+ additionalActions: []
190
191
  };
191
192
  var _default = exports.default = PuiSearchPage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@portnet/ui",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "Portnet UI",
5
5
  "keywords": [
6
6
  "react",