Skip to content
This repository was archived by the owner on May 8, 2024. It is now read-only.

Commit bdf64ca

Browse files
authored
Update README.md
1 parent abe5458 commit bdf64ca

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Typeaheads for Draft.js inspired by Facebook.com.
88

99
This package provides a higher-order component that wraps draft's `Editor` component and augments it with typeahead superpowers. One popular use for draft-js-typeahead is to add support for mentions in draft editors.
1010

11+
-
12+
1113
draft-js-typeahead helps in three ways:
1214
- It figures out *if* and *where* the typeahead should be showing.
1315
- It keeps track of the typeahead's highlighted item.
@@ -34,7 +36,11 @@ First we'll need to import `TypeaheadEditor`:
3436
import { TypeaheadEditor } from 'draft-js-typeahead';
3537
```
3638

37-
`TypeaheadEditor` is a react component that wraps draft's `Editor`. It supports all of the same properties as the latter, as well as a few others:
39+
`TypeaheadEditor` is a react component that wraps draft's `Editor`.
40+
41+
-
42+
43+
It supports all of the same properties as the latter, as well as a few others:
3844

3945
`onTypeaheadChange => (typeaheadState)`:
4046

0 commit comments

Comments
 (0)