Closed stanleycyang closed 7 years ago
Same here
@stanleycyang @williammustaffa the prop for changing truncat character is: truncationChar
, so in your case it should be (assuming that Truncate
is React-dotdotdot
component):
<Truncate
truncationChar={ 'hello' }
clamp={ 7 }>
<p>
{ testimonial }
</p>
</Truncate>
Obviously there is misleading and not up-to-date information in README.
I tried changing it to 'hello' and it did not work. Any idea why?