Shorten Function shorten = (text) => { return text.substr(0, 50) + "..." } <p>{this.shorten(description)}</p>