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