ctrlplusb / react-component-queries

Provide props to your React Components based on their Width and/or Height.
MIT License
183 stars 12 forks source link

fixed readme example #96

Open kumarharsh opened 5 years ago

kumarharsh commented 5 years ago

There was an inconsistency between the component query function returning a prop and a different prop being used in the render function of the component itself. This PR clarifies what the author meant.

Also some very minor fixes in word hyphenation

codecov[bot] commented 5 years ago

Codecov Report

Merging #96 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #96   +/-   ##
=======================================
  Coverage   98.38%   98.38%           
=======================================
  Files           5        5           
  Lines          62       62           
  Branches       15       15           
=======================================
  Hits           61       61           
  Misses          1        1

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 a94df67...72ee162. Read the comment docs.