import { OnyxColor } from '../../types/colors.js'; export type OnyxIconProps = IconSizeProp & { /** * SVG source of the icon. **Important**: Only provide trustworthy content, the SVG content will * not be sanitized. */ icon: string; /** * Icon color. */ color?: OnyxColor | "currentColor"; /** * In inline mode the icon will adapt to the font-size and align itself according to the line-height. */ inline?: boolean; }; export declare const ICON_SIZES: readonly ["12px", "16px", "24px", "32px", "48px", "64px", "96px"]; export type IconSize = (typeof ICON_SIZES)[number]; export type IconSizeProp = { /** * Size. Pixel values will be translated to the according `rem` value by the base of `16px`=`1rem`. * * @default 24px */ size?: T; };