rate icon indicating copy to clipboard operation
rate copied to clipboard

feat: highlight selected only

Open lironhl opened this issue 3 years ago • 2 comments

Added highlightSelectedOnly prop, to allow only one star to be highlighted at the same time. @afc163 Can we merge this and release new version after this?

https://user-images.githubusercontent.com/12899161/143721196-0b1718cc-bcaa-402e-ba74-d8de5da08278.mp4

lironhl avatar Nov 27 '21 20:11 lironhl

Codecov Report

Merging #135 (b728542) into master (a789bfb) will increase coverage by 0.01%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #135      +/-   ##
==========================================
+ Coverage   97.35%   97.36%   +0.01%     
==========================================
  Files           3        3              
  Lines         189      190       +1     
  Branches       50       51       +1     
==========================================
+ Hits          184      185       +1     
  Misses          5        5              
Impacted Files Coverage Δ
src/Rate.tsx 100.00% <ø> (ø)
src/Star.tsx 97.36% <100.00%> (+0.07%) :arrow_up:

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 a789bfb...b728542. Read the comment docs.

codecov[bot] avatar Nov 27 '21 20:11 codecov[bot]

@afc163 what do you think?

lironhl avatar Dec 01 '21 19:12 lironhl