diff --git a/README.md b/README.md index 63ab425..be22455 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ speedUpFirstSecond* | first tick will happen faster after timer starts. Visual t -**stopUpdate** - with this prop most of the callbacks are not working. Only `onStart`, `onEnd` and `onCancel` are available +**stopUpdate** - with this prop most of the callbacks are not working. Only `onStart`, `onEnd` and `onCancel` are available. `currentTime` is not available as well. **stopwatch** - with this prop `onEnd` callback is disabled diff --git a/TODO.txt b/TODO.txt index 263e6bd..4b805ef 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,4 +4,5 @@ TODO: // import { TTimeUnit } from 'react-hook-time/dist/src/ReactTimer/types' - remove // @ts-ignore from chainingFunctions = { start, pause, reset, setTime, incTime, decTime } - write test for updated convertedInitialTimeInMsRef.current. check that reset always resets to updated value -- stop onUpdate callback working twice after decTime, incTime and setTime \ No newline at end of file +- stop onUpdate callback working twice after decTime, incTime and setTime +- update demo page to support decTime, incTime and setTime in stopUpdate mode \ No newline at end of file diff --git a/package.json b/package.json index 7accfc4..60482f2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-hook-time", - "version": "1.0.6", + "version": "1.0.7", "type": "module", "description": "A React timer library", "main": "dist/index.umd.js",