react-text-expanderrrs
v1.0.9
Published
A lightweight React component for truncating and expanding long text with customizable buttons.
Maintainers
Readme
react-text-expanderrrs
A lightweight and customizable React component to truncate and expand long blocks of text with a toggle button. Perfect for displaying previews, summaries, or “read more” functionality in React apps.
Features
- Truncate long text to a fixed number of characters.
- Toggle to show full text with a customizable button.
- Customizable button text and color.
- Simple, lightweight, and easy to use.
Installation
npm install react-text-expanderrrs