An open API service indexing awesome lists of open source software.

https://github.com/mcamac/react-text-annotate

React components for interactively highlighting parts of text.
https://github.com/mcamac/react-text-annotate

react

Last synced: 5 months ago
JSON representation

React components for interactively highlighting parts of text.

Awesome Lists containing this project

README

          

# react-text-annotate
[![NPM](https://img.shields.io/npm/v/react-text-annotate)](https://www.npmjs.com/package/react-text-annotate)

A React component for interactively highlighting parts of text.

## Usage

React `16.8.0` or higher is required as a peer dependency of this package.

```
npm install --save react-text-annotate
```

[Docs](https://mcamac.github.io/react-text-annotate/)

## Examples

A simple controlled annotation.

```tsx
import {TokenAnnotator, TextAnnotator} from 'react-text-annotate'

```