vydimitrov / react-countdown-circle-timer

Lightweight React/React Native countdown timer component with color and progress animation based on SVG
MIT License
692 stars 87 forks source link

feat: typescript rewrite in v3 #189

Closed vydimitrov closed 2 years ago

vydimitrov commented 2 years ago

This PR rewrites both packages to TypeScript and adds a bunch of improvements:

Improvements

Breaking changes

React Native (mobile) changes

codecov-commenter commented 2 years ago

Codecov Report

Merging #189 (63cd3b0) into master (cd9d6c1) will increase coverage by 2.53%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master      #189      +/-   ##
===========================================
+ Coverage   97.46%   100.00%   +2.53%     
===========================================
  Files           9         3       -6     
  Lines         197        23     -174     
  Branches       53        10      -43     
===========================================
- Hits          192        23     -169     
+ Misses          5         0       -5     
Flag Coverage Δ
mobile 100.00% <100.00%> (+4.76%) :arrow_up:
web 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
packages/mobile/src/CountdownCircleTimer.tsx 100.00% <100.00%> (ø)
packages/web/src/CountdownCircleTimer.tsx 100.00% <100.00%> (ø)
packages/web/src/index.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update cd9d6c1...63cd3b0. Read the comment docs.