Skip to content

Farbod29/React-text-highlighter-with-hook-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React-text-highlighter-with-hook-

React text highlighter with hook and useState - super simple - react highlighter javascript without any package or library using react hook

Screenshot 2022-02-21 at 15 03 22

how to run:


npm i
npm start

Refrences:

https://developer.mozilla.org/en-US/docs/Web/API/Window/getSelection

https://medium.com/unprogrammer/a-simple-text-highlighting-component-with-react-e9f7a3c1791a

Thanks for the provider and @Saeed Rastgar my friend to assist the in the CSS part.

https://stackoverflow.com/questions/38810767/how-can-you-get-highlighted-text-window-getselection-in-reactjs

support

aprin.farbod@gmail.com

Donate

If you liked that dont forget to support

donate a bier for me under paypal link :

Screenshot 2021-09-08 at 20 35 08

About

React text highlighter with hook and use state - super simple

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published