import { cutText } from '@src/hylo-components/utils/usefull/usefull';
Cuts a text if it exceeds a maximum amount of characters. Adds "..." if text got cut.
the text to be cut
the maximum amount of characters in the cut text (including "...")
Generated using TypeDoc
import { cutText } from '@src/hylo-components/utils/usefull/usefull';
Cuts a text if it exceeds a maximum amount of characters. Adds "..." if text got cut.