@quid/react-ellipsis

4.11.6 • Public • Published

react-ellipsis is a React component designed to trim multi-line text to limit it to a given maximum height, adding the ellipsis () symbol at the end to denote some text has been cut.

It provides the same functionality of the CSS text-overflow: ellipsis but with support for multi-line texts.

Installation

npm install --save @quid/react-ellipsis

# or

yarn add @quid/react-ellipsis

More documentation is available at https://ui.quid.com

Readme

Keywords

none

Package Sidebar

Install

npm i @quid/react-ellipsis

Weekly Downloads

21

Version

4.11.6

License

MIT

Unpacked Size

64.2 kB

Total Files

21

Last publish

Collaborators

  • quidops