react-truncate-string
react-truncate-string copied to clipboard
Feature request: isTruncated or some other function that returns true/false if text currently truncated
Just think it could be potentially useful as a method, such as in the use-case of "show a tooltip containing the full text only if the text is truncated"
Have it that it is a side-effect that callsback on truncation, if prop handler exists.