react-truncate
react-truncate copied to clipboard
failed when the sentence dose not contain spaces
It can be a option to choose space or letter when split the sentences, for some language, Chinese, for example, it failed because there have no space in it's sentences.
you can try to apply "word-break: break-all" style on parent div