Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
zoltantothcom committed Jan 15, 2019
1 parent 6d84ffb commit 6d36438
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,17 @@ List of all available props with their default values and description.
/>
```

| prop | type | default value | description |
| --------------- | --------- | ------------------ | ----------------------------------------------------------------------------------------- |
| text | {String} | | Text you wish to clamp |
| lines | {Number} | `3` | Number of visible lines |
| ellipsis | {String} | `...` | Text content for the ellipsis - will appear after the clamped lines |
| buttons | {Boolean} | `true` | The _«Read more»_ and _«Read less»_ buttons |
| moreText | {String} | `Read more` | _«Read more»_ button value |
| lessText | {String} | `Read less` | _«Read less»_ button value |
| className | {String} | | CSS class names added to component |
| delay | {Number} | `300` | Milliseconds, the function is waiting before being triggered, after it stops being called |
| stopPropagation | {Boolean} | `false` | Prevents the event from bubbling up the DOM tree when clicked on the "Read More" button |
| prop | type | default value | description |
| --------------- | --------- | ------------------ | ----------------------------------------------------------------------------------------------------- |
| text | {String} | | Text you wish to clamp |
| lines | {Number} | `3` | Number of visible lines |
| ellipsis | {String} | `...` | Text content for the ellipsis - will appear after the clamped lines |
| buttons | {Boolean} | `true` | The _«Read more»_ and _«Read less»_ buttons |
| moreText | {String} | `Read more` | _«Read more»_ button value |
| lessText | {String} | `Read less` | _«Read less»_ button value |
| className | {String} | | CSS class names added to component |
| delay | {Number} | `300` | Milliseconds, the function is waiting before being triggered, after it stops being called |
| stopPropagation | {Boolean} | `false` | Prevents the event from bubbling up the DOM tree when clicked on the _«Read more»_ button |

## License

Expand Down

0 comments on commit 6d36438

Please sign in to comment.