Skip to content

Commit

Permalink
v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Albert González committed Feb 12, 2022
1 parent d22beb0 commit f67ac38
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 55 deletions.
12 changes: 6 additions & 6 deletions dist/index.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/**
* easytimer-react-hook
* Generated: 2021-03-12
* Version: 1.0.3
* Generated: 2022-02-12
* Version: 2.0.0
*/

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

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

exports.default = useTimer;
exports["default"] = useTimer;

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

})));
}));
4 changes: 2 additions & 2 deletions dist/index.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion example/dist/index.css

Large diffs are not rendered by default.

Loading

0 comments on commit f67ac38

Please sign in to comment.