ejmudi / react-autocomplete-hint

A React component for Autocomplete Hint.
https://ejmudi.github.io/react-autocomplete-hint/
MIT License
164 stars 16 forks source link

Add onHint prop that gives the user the current matching hint #19

Closed tilnea closed 3 years ago

tilnea commented 3 years ago

This PR adds a prop so users of this package can get the current matching hint

codecov[bot] commented 3 years ago

Codecov Report

Merging #19 (9848bea) into master (ed91ec7) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #19   +/-   ##
=======================================
  Coverage   99.30%   99.31%           
=======================================
  Files           2        2           
  Lines         144      145    +1     
  Branches       44       45    +1     
=======================================
+ Hits          143      144    +1     
  Misses          1        1           
Impacted Files Coverage Δ
src/index.tsx 99.15% <100.00%> (+<0.01%) :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 ed91ec7...9848bea. Read the comment docs.