import { type HasRootRef } from '../../types'; import { RootComponent } from '../RootComponent/RootComponent'; /** * Возвращает класс для иконки. */ export function iconClassName(size: number) { return `vkuiIcon vkuiIcon--${size} vkuiIcon--w-${size} vkuiIcon--h-${size}`; } interface SvgIconProps extends React.ComponentPropsWithoutRef<'svg'>, HasRootRef { /** * Размер иконки. */ size: number; } export function SvgIcon({ size, children, ...restProps }: SvgIconProps) { return ( ); }