import { HTMLAttributes, ReactNode } from 'react'; import { HorizontalDirection, AssetSize } from '../../types'; import { EllipsisContentProps } from '../EllipsisContent/EllipsisContent.types'; import { ImageName } from '../Icon/Icon.types'; import { GapOptions } from '../Container'; export interface IconWrapperProps extends HTMLAttributes { icon?: ImageName; iconDir?: HorizontalDirection; size?: AssetSize; width?: number | string; height?: number | string; children: ReactNode; ellipsisContent?: boolean; /** Positions the truncation tooltip. Ignored when `ellipsisContent` is `false`. */ tooltipProps?: EllipsisContentProps['tooltipProps']; gap?: GapOptions; }