export const truncateString = (visibleLastSymbolsCount, label) => {
    const firstPartLabel = label.slice(0, -visibleLastSymbolsCount);
    const secondPartLabel = label.slice(-visibleLastSymbolsCount);
    return { firstPartLabel, secondPartLabel };
};
