how to display small part of a paragraph in html in react code example
Example: reactjs limit text display 20 200 characters
<div>
{`${text.substring(0, MAX_LENGTH)}...`}<a href="#">Read more</a>
</div>
<div>
{`${text.substring(0, MAX_LENGTH)}...`}<a href="#">Read more</a>
</div>