Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork60
Truncate multi-lines text for all browsers base on react.js
License
NotificationsYou must be signed in to change notification settings
ShinyChang/React-Text-Truncate
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
npm install react-text-truncateimportTextTruncatefrom'react-text-truncate';// recommendvarTextTruncate=require('react-text-truncate');// CommonJS or UMD
<TextTruncateline={1}element="span"truncateText="…"text="Lorem Ipsum is simply dummy text of the printing and typesetting industry."textTruncateChild={<ahref="#">Read on</a>}/>
Why TextTruncate not shown after display changed?
You must trigger update manually.
Will TextTruncate support IE10 or below?
No! IE 10 and below are dead according toMicrosoft post.
About
Truncate multi-lines text for all browsers base on react.js
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.