@wlloyalty/wll-react-sdk 1.0.35 → 1.0.36

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.d.ts CHANGED
@@ -189,8 +189,8 @@ declare class BannerTileConfig {
189
189
  declare class PointsTileConfig {
190
190
  title?: string | null;
191
191
  multiplier?: number;
192
- prefix?: string | null;
193
- suffix?: string | null;
192
+ pointsPrefix?: string | null;
193
+ pointsSuffix?: string | null;
194
194
  artworkUrl?: string | null;
195
195
  points?: number;
196
196
  }
package/dist/index.js CHANGED
@@ -20330,16 +20330,16 @@ var PointsTileFormattedPoints = function () {
20330
20330
  var configuration = useTileContext().configuration;
20331
20331
  var _a = configuration,
20332
20332
  multiplier = _a.multiplier,
20333
- prefix = _a.prefix,
20334
- suffix = _a.suffix,
20333
+ pointsPrefix = _a.pointsPrefix,
20334
+ pointsSuffix = _a.pointsSuffix,
20335
20335
  points = _a.points;
20336
20336
  var calculatedPoints = points !== undefined ? points * (multiplier !== null && multiplier !== void 0 ? multiplier : 1) : null;
20337
20337
  if (calculatedPoints === null) return null;
20338
20338
  return /*#__PURE__*/React__namespace.createElement(Text, {
20339
20339
  variant: "caption"
20340
- }, prefix !== null && prefix !== void 0 ? prefix : '', /*#__PURE__*/React__namespace.createElement(Row, null, calculatedPoints, /*#__PURE__*/React__namespace.createElement(Text, {
20340
+ }, pointsPrefix !== null && pointsPrefix !== void 0 ? pointsPrefix : '', /*#__PURE__*/React__namespace.createElement(Row, null, calculatedPoints, /*#__PURE__*/React__namespace.createElement(Text, {
20341
20341
  style: styles.suffix
20342
- }, suffix !== null && suffix !== void 0 ? suffix : 'pts')));
20342
+ }, pointsSuffix !== null && pointsSuffix !== void 0 ? pointsSuffix : 'pts')));
20343
20343
  };
20344
20344
 
20345
20345
  var PointsTileTitle = function () {