wargerm 0.6.7 → 0.6.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.esm.js CHANGED
@@ -3417,15 +3417,18 @@ var Index$8 = function Index(props) {
3417
3417
  }));
3418
3418
  };
3419
3419
 
3420
- var _excluded$c = ["duration"];
3420
+ var _excluded$c = ["duration", "className"];
3421
3421
 
3422
3422
  var Index$9 = function Index(props) {
3423
3423
  var _props$duration = props.duration,
3424
3424
  duration = _props$duration === void 0 ? 2.75 : _props$duration,
3425
+ className = props.className,
3425
3426
  extraProps = _objectWithoutProperties(props, _excluded$c);
3426
- return /*#__PURE__*/React.createElement(CountUp, _objectSpread2({
3427
+ return /*#__PURE__*/React.createElement(CountUp, _objectSpread2(_objectSpread2({
3427
3428
  duration: duration
3428
- }, extraProps));
3429
+ }, extraProps), {}, {
3430
+ className: "".concat(className, " countUp")
3431
+ }));
3429
3432
  };
3430
3433
 
3431
3434
  Index$9.defaultProps = {};
package/dist/index.js CHANGED
@@ -3482,15 +3482,18 @@ var Index$8 = function Index(props) {
3482
3482
  }));
3483
3483
  };
3484
3484
 
3485
- var _excluded$c = ["duration"];
3485
+ var _excluded$c = ["duration", "className"];
3486
3486
 
3487
3487
  var Index$9 = function Index(props) {
3488
3488
  var _props$duration = props.duration,
3489
3489
  duration = _props$duration === void 0 ? 2.75 : _props$duration,
3490
+ className = props.className,
3490
3491
  extraProps = _objectWithoutProperties(props, _excluded$c);
3491
- return /*#__PURE__*/React__default['default'].createElement(CountUp__default['default'], _objectSpread2({
3492
+ return /*#__PURE__*/React__default['default'].createElement(CountUp__default['default'], _objectSpread2(_objectSpread2({
3492
3493
  duration: duration
3493
- }, extraProps));
3494
+ }, extraProps), {}, {
3495
+ className: "".concat(className, " countUp")
3496
+ }));
3494
3497
  };
3495
3498
 
3496
3499
  Index$9.defaultProps = {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "wargerm",
4
- "version": "0.6.7",
4
+ "version": "0.6.8",
5
5
  "scripts": {
6
6
  "dev": "dumi dev",
7
7
  "docs:build": "dumi build",