The text surrounded by the component will be truncated. Anything surrounded by the component could be evaluated as text. The component react-show-more-text/ShowMoreText is fork of react-show-more/ShowMore, applied improvements, works with React 16.x.x, ad
Tiny, type-safe string utilities — truncate, template, escapeHtml/escapeRegExp, dedent, center, and prefix/suffix helpers. Zero dependencies.
Simple React component to responsively control the size of text, and make longer/shorter depending on the screen size.
Truncate strings at word boundaries with a customizable suffix. Zero dependencies. TypeScript-first.