s-platform-landing-section 0.1.7 → 0.1.8

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
@@ -2,6 +2,7 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
2
2
 
3
3
  var React = require('react');
4
4
  var React__default = _interopDefault(React);
5
+ var reactRedux = require('react-redux');
5
6
  var fa = require('react-icons/fa');
6
7
  var io5 = require('react-icons/io5');
7
8
  var pi = require('react-icons/pi');
@@ -112,7 +113,9 @@ var Button = function Button(props) {
112
113
  _props$style = props.style,
113
114
  style = _props$style === void 0 ? {} : _props$style,
114
115
  _props$shopConfigStyl = props.shopConfigStyle,
115
- shopConfigStyle = _props$shopConfigStyl === void 0 ? {} : _props$shopConfigStyl;
116
+ shopConfigStyle = _props$shopConfigStyl === void 0 ? {} : _props$shopConfigStyl,
117
+ _props$onClick = props.onClick,
118
+ onClick = _props$onClick === void 0 ? function () {} : _props$onClick;
116
119
  var _className = "text-white font-medium rounded-lg text-sm px-4 py-2.5 " + ((shopConfigStyle === null || shopConfigStyle === void 0 ? void 0 : shopConfigStyle.buttonClass) || "") + " " + className;
117
120
  var _style = _extends({
118
121
  backgroundColor: shopConfigStyle === null || shopConfigStyle === void 0 ? void 0 : (_shopConfigStyle$colo = shopConfigStyle.color) === null || _shopConfigStyle$colo === void 0 ? void 0 : _shopConfigStyle$colo.primary
@@ -120,7 +123,8 @@ var Button = function Button(props) {
120
123
  return /*#__PURE__*/React__default.createElement("button", {
121
124
  type: "button",
122
125
  className: _className,
123
- style: _style
126
+ style: _style,
127
+ onClick: onClick
124
128
  }, label);
125
129
  };
126
130
 
@@ -129,6 +133,9 @@ var Hero10 = function Hero10(props) {
129
133
  var shopConfigStyle = props.shopConfigStyle,
130
134
  data = props.data;
131
135
  var sectionData = data === null || data === void 0 ? void 0 : data.data;
136
+ var count = reactRedux.useSelector(function (state) {
137
+ return state.counter.value;
138
+ });
132
139
  return /*#__PURE__*/React__default.createElement("div", {
133
140
  className: "relative w-full bg-cover bg-center bg-no-repeat ",
134
141
  style: {
@@ -6683,7 +6690,6 @@ var Features1 = function Features1(props) {
6683
6690
  textBody = _shopConfigStyle$colo4 === void 0 ? "#000" : _shopConfigStyle$colo4,
6684
6691
  _shopConfigStyle$colo5 = _shopConfigStyle$colo.background,
6685
6692
  background = _shopConfigStyle$colo5 === void 0 ? "#fff" : _shopConfigStyle$colo5;
6686
- console.log("Features1 data", data);
6687
6693
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
6688
6694
  className: "relative w-full py-12 px-4 xl:px-20",
6689
6695
  style: {