ReactJS membatasi tampilan teks 20 200 karakter

<div>
  {`${text.substring(0, MAX_LENGTH)}...`}<a href="#">Read more</a>
</div>
Dayanaohhnana