import { APPEARANCE, IconPredefined, SIZE } from '@cloud-ru/ds-icon-predefined'; import { TruncateString } from '@cloud-ru/ds-truncate-string'; import { SIZE as TYPOGRAPHY_SIZE, Typography, VARIANT } from '@cloud-ru/ds-typography'; import cn from 'classnames'; import { ReactNode } from 'react'; import { Icon } from '../../types'; import styles from './styles.module.scss'; export type SidebarTitleProps = { title: string; icon: Icon; className?: string; afterContent?: ReactNode; }; export function SidebarTitle({ title, className, icon, afterContent }: SidebarTitleProps) { return (