Skip to content

Commit

Permalink
Fix truncateAt prop in example (#5)
Browse files Browse the repository at this point in the history
Change `truncate` to `truncateAt`
  • Loading branch information
rdonnelly authored and albinotonnina committed Mar 14, 2019
1 parent dee54f9 commit f80b6a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ import TruncateString from 'react-truncate-string'
...

render(){
return <TruncateString text="your long string" truncate={90} />
return <TruncateString text="your long string" truncateAt={90} />
}
```

Expand Down

0 comments on commit f80b6a2

Please sign in to comment.