@clampy-js/react-clampy
React component that clamps the content of an element by adding an ellipsis to it if the content inside is too long.
Usage no npm install needed!
<script type="module">
import clampyJsReactClampy from 'https://cdn.skypack.dev/@clampy-js/react-clampy';
</script>