react hook to clamp multiline text to a given height in a responsive way and with extreme flexibility (under 2.5kb)
-
Updated
May 9, 2024 - TypeScript
react hook to clamp multiline text to a given height in a responsive way and with extreme flexibility (under 2.5kb)
TypeScript fork of clamp.js - Clamps an HTML element by adding ellipsis to it if the content inside is too long.
Add a description, image, and links to the clamp-text topic page so that developers can more easily learn about it.
To associate your repository with the clamp-text topic, visit your repo's landing page and select "manage topics."