Appearance
Props
Prop | Type | Default | Description |
---|---|---|---|
truncateValue | Number | null | The number of characters to truncate the text to. |
onlyIfMoreThanValue | Number | null | Activate the truncate feature only if the text character count is greater than this value. |
readMoreButtonText | String | 'Read more' | The text displayed on the read more button. |
readLessButtonText | String | 'Read less' | The text displayed on the read less button |