Skip to content

Commit

Permalink
[docs] Fix return type of convertFromRaw (See facebookarchive#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
dustin-H committed Feb 23, 2016
1 parent 241e815 commit aa48ab7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/APIReference-Data-Conversion.md
Expand Up @@ -29,10 +29,10 @@ objects.
### convertFromRaw

```
convertFromRaw(rawState: RawDraftContentState): ContentState
convertFromRaw(rawState: RawDraftContentState): Array<ContentBlock>
```

Given a raw state, convert it to `ContentState` object. This is useful when
Given a raw state, convert it to an array of `ContentBlock` objects. This is useful when
restoring contents to use within a Draft editor.

### convertToRaw
Expand Down

0 comments on commit aa48ab7

Please sign in to comment.