Skip to content

catherinessssss/react-text-highlighter

Repository files navigation

npm (scoped)

Highlight the matched 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

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published