1.0.4 • Published 5 years ago
@catherinessssss/react-text-highlighter v1.0.4
Highlight the match text
Install
$ npm install @catherinessssss/react-text-highlighter
Usage
import Highlighter from "@catherinessssss/react-text-highlighter";
<Highlighter
searchWord="hi"
wholeText="hihi2hi"
/>
Note: Hooks can only be called inside the body of a function component.
Lisence
MIT