@re-dev/react-truncate
Provides `Truncate`, `MiddleTruncate` and `ShowMore` React components for truncating multi-line spans and adding an ellipsis.
rc-tc-ifn
React simple. Truncate text and tooltip if need (Hooks)
react-string-truncate
truncate the text node of the specified child element that is pointed by the selector, and the ellipsis can be customized