typescript-react-hightlight-words
TypeScript icon, indicating that this package has built-in type declarations

2.0.15 • Public • Published

typescript-react-hightlight-words

publish test npm GitHub last commit npm

react-hightlight-words

What Can The Lib Do?

See the picture below

hi

Demo Page

click me~

How To Use

you can find demos in examples / __tests__ folder

import HighlightWords from "typescript-react-hightlight-words";

<HightLight
    text="this is a demo for you"
    words={["demo"]}
    hightlightTag="span"
    wrapperTag="div"
    hightlightStyle={{ color: "red" }}
/>

Readme

Keywords

Package Sidebar

Install

npm i typescript-react-hightlight-words

Weekly Downloads

2

Version

2.0.15

License

MIT

Unpacked Size

8.62 kB

Total Files

7

Last publish

Collaborators

  • unliar