@bigbinary/neeto-integrations-frontend 2.10.6 → 2.11.0

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.
package/dist/index.js CHANGED
@@ -1145,7 +1145,8 @@ var Connect = withT(function (_ref) {
1145
1145
  buttonProps = _ref$buttonProps === void 0 ? {} : _ref$buttonProps,
1146
1146
  _ref$onConnect = _ref.onConnect,
1147
1147
  onConnect = _ref$onConnect === void 0 ? noop : _ref$onConnect,
1148
- children = _ref.children;
1148
+ children = _ref.children,
1149
+ secondaryButtonProps = _ref.secondaryButtonProps;
1149
1150
  return /*#__PURE__*/React__default.createElement("div", {
1150
1151
  className: "mx-auto w-full max-w-lg"
1151
1152
  }, /*#__PURE__*/React__default.createElement(Icon, {
@@ -1158,10 +1159,14 @@ var Connect = withT(function (_ref) {
1158
1159
  className: "neeto-ui-text-gray-700 mb-8",
1159
1160
  style: "body1",
1160
1161
  weight: "normal"
1161
- }, description), children, /*#__PURE__*/React__default.createElement(Button, _extends$1({
1162
+ }, description), children, /*#__PURE__*/React__default.createElement("div", {
1163
+ className: "flex w-full items-start space-x-4"
1164
+ }, /*#__PURE__*/React__default.createElement(Button, _extends$1({
1162
1165
  label: t("neetoIntegrations.common.connect"),
1163
1166
  onClick: onConnect
1164
- }, buttonProps)));
1167
+ }, buttonProps)), isNotEmpty(secondaryButtonProps) && /*#__PURE__*/React__default.createElement(Button, _extends$1({
1168
+ style: "secondary"
1169
+ }, secondaryButtonProps))));
1165
1170
  });
1166
1171
  Connect.prototypes = {
1167
1172
  /**