1.0.5 • Published 2 years ago

react-truncated-component v1.0.5

Weekly downloads
62
License
MIT
Repository
github
Last release
2 years ago

NPM Build

Install

npm install --save react-truncated-component

Usage

function TruncatedText() {
  return (
    <ReactTruncatedComponent ellipsis="..." numberOfLines={5} lineHeight={23}>
      <p>{/*


    put your long text right here


    */}</p>
    </ReactTruncatedComponent>
  );
}

Docs

To see the documentation visit the website.

License

MIT © Juan Garcia

1.0.5

2 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago