React多行文本溢出处理(仅针对纯文本)

最多显示4行,第四行末尾显示“...”

原文地址:https://www.cnblogs.com/LLLLily/p/8126541.html