Skip to content

Commit f67ac38

Browse files
author
Albert González
committed
v2.0.0
1 parent d22beb0 commit f67ac38

File tree

6 files changed

+38
-55
lines changed

6 files changed

+38
-55
lines changed

dist/index.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/**
22
* easytimer-react-hook
3-
* Generated: 2021-03-12
4-
* Version: 1.0.3
3+
* Generated: 2022-02-12
4+
* Version: 2.0.0
55
*/
66

77
(function (global, factory) {
88
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('easytimer.js')) :
99
typeof define === 'function' && define.amd ? define(['exports', 'react', 'easytimer.js'], factory) :
10-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['easytimer-react-hook'] = {}, global.React, global.easytimer));
11-
}(this, (function (exports, react, easytimer_js) { 'use strict';
10+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["easytimer-react-hook"] = {}, global.React, global.easytimer));
11+
})(this, (function (exports, react, easytimer_js) { 'use strict';
1212

1313
var useTimer = function (_a) {
1414
var _b = _a === void 0 ? {} : _a, startValues = _b.startValues, target = _b.target, precision = _b.precision, countdown = _b.countdown, updateWhenTargetAchieved = _b.updateWhenTargetAchieved;
@@ -55,8 +55,8 @@
5555
return [timer, isTargetAchieved];
5656
};
5757

58-
exports.default = useTimer;
58+
exports["default"] = useTimer;
5959

6060
Object.defineProperty(exports, '__esModule', { value: true });
6161

62-
})));
62+
}));

dist/index.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/dist/index.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)