0.1.13 • Published 2 years ago

highlight-react v0.1.13

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

highlight-react

quickstart

Installation

npm i highlighter-react

#or

yarn add highlighter-react

How to use

import Highlight from 'highlight-react/dist/highlight'

const Demo = () => {
  const searchTerm = 'hello';

  return (
    <Highlight search={searchTerm}>
      <div>
        <h1>Hello world!</h1>
      </div>
    </Highlight>
  );
};

export default Demo;
0.1.13

2 years ago

0.1.12

2 years ago

0.1.11

2 years ago

0.1.10

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago