@twreporter/react-components 9.7.0-rc.0 → 9.7.0-rc.1

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.
@@ -58,8 +58,8 @@ var EmptyState = function EmptyState(_ref) {
58
58
  buttonText = _ref$buttonText === void 0 ? '' : _ref$buttonText,
59
59
  _ref$buttonUrl = _ref.buttonUrl,
60
60
  buttonUrl = _ref$buttonUrl === void 0 ? '/' : _ref$buttonUrl,
61
- _ref$buttonOnclick = _ref.buttonOnclick,
62
- buttonOnclick = _ref$buttonOnclick === void 0 ? defaultFunc : _ref$buttonOnclick,
61
+ _ref$buttonOnClick = _ref.buttonOnClick,
62
+ buttonOnClick = _ref$buttonOnClick === void 0 ? defaultFunc : _ref$buttonOnClick,
63
63
  _ref$maxWidth = _ref.maxWidth,
64
64
  maxWidth = _ref$maxWidth === void 0 ? '280px' : _ref$maxWidth;
65
65
  var imageUrl = '';
@@ -91,7 +91,7 @@ var EmptyState = function EmptyState(_ref) {
91
91
  text: guide
92
92
  }) : guide)), showButton && /*#__PURE__*/_react["default"].createElement(ButtonContainer, {
93
93
  href: buttonUrl,
94
- onClick: buttonOnclick
94
+ onClick: buttonOnClick
95
95
  }, /*#__PURE__*/_react["default"].createElement(_button.PillButton, {
96
96
  text: buttonText,
97
97
  size: _sharedEnum.Size.L
@@ -106,7 +106,7 @@ EmptyState.propTypes = {
106
106
  showButton: _propTypes["default"].bool,
107
107
  buttonText: _propTypes["default"].string,
108
108
  buttonUrl: _propTypes["default"].string,
109
- buttonOnclick: _propTypes["default"].func,
109
+ buttonOnClick: _propTypes["default"].func,
110
110
  maxWidth: _propTypes["default"].string
111
111
  };
112
112
  EmptyState.Style = _enums.Style;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twreporter/react-components",
3
- "version": "9.7.0-rc.0",
3
+ "version": "9.7.0-rc.1",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "repository": "https://github.com/twreporter/twreporter-npm-packages.git",
@@ -55,5 +55,5 @@
55
55
  "react-dom": "^18.2.0",
56
56
  "storybook": "^8.1.11"
57
57
  },
58
- "gitHead": "f711e40bf8de25840d55a3a9b28a377a27b38037"
58
+ "gitHead": "b2a322c58d6903b540698438f9be958238bcd0dc"
59
59
  }