Need help with React-Text-Truncate?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

ShinyChang
255 Stars 52 Forks MIT License 148 Commits 14 Opened issues

Description

Truncate multi-lines text for all browsers base on react.js

Services available

!
?

Need anything else?

Contributors list

React-Truncate-Text npm version

Install

npm install react-text-truncate

Usage

import TextTruncate from 'react-text-truncate'; // recommend
var TextTruncate = require('react-text-truncate'); // CommonJS or UMD

Markup

Read on}
/>

Demo

FAQ

  1. Why TextTruncate not shown after display changed?

    You must trigger update manually.

  2. Will TextTruncate support IE10 or below?

    No! IE 10 and below are dead according to Microsoft post.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.