ecomlab-components-next 0.1.133 → 0.1.134
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.
|
@@ -101,7 +101,8 @@ var formStubData = [{
|
|
|
101
101
|
}];
|
|
102
102
|
var FormWithBtn = function FormWithBtn(_ref) {
|
|
103
103
|
var title = _ref.title,
|
|
104
|
-
description = _ref.description
|
|
104
|
+
_ref$description = _ref.description,
|
|
105
|
+
description = _ref$description === void 0 ? 'Запишись на консультацию с нашим специалистом, чтобы получить бесплатный доступ к платформе на месяц' : _ref$description;
|
|
105
106
|
var _useState = (0, _react.useState)(false),
|
|
106
107
|
_useState2 = _slicedToArray(_useState, 2),
|
|
107
108
|
isModal = _useState2[0],
|
|
@@ -122,7 +123,7 @@ var FormWithBtn = function FormWithBtn(_ref) {
|
|
|
122
123
|
className: "form-with-btn__title"
|
|
123
124
|
}, "\u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439 \u0431\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E\xA0"), description && /*#__PURE__*/_react["default"].createElement("p", {
|
|
124
125
|
className: "form-with-btn__description"
|
|
125
|
-
},
|
|
126
|
+
}, description), /*#__PURE__*/_react["default"].createElement(_ButtonBasic["default"], {
|
|
126
127
|
green: true,
|
|
127
128
|
text: "\u041F\u043E\u043F\u0440\u043E\u0431\u043E\u0432\u0430\u0442\u044C \u0431\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E",
|
|
128
129
|
maxWidth: '430px',
|
|
@@ -29,7 +29,7 @@ var PhoneBlock = function PhoneBlock(_ref) {
|
|
|
29
29
|
}, /*#__PURE__*/_react["default"].createElement(_ButtonBasic["default"], {
|
|
30
30
|
green: true,
|
|
31
31
|
size: "54px",
|
|
32
|
-
width: "
|
|
32
|
+
width: "430px",
|
|
33
33
|
text: "\u041D\u0430\u0448\u0438 \u043D\u043E\u0432\u043E\u0441\u0442\u0438",
|
|
34
34
|
onClick: function onClick(e) {
|
|
35
35
|
var _window;
|