UNPKG

@iconify/utils

Version:

Common functions for working with Iconify icon sets used by various packages.

14 lines (11 loc) 454 B
import { IconifyIcon } from '@iconify/types'; import { IconCSSIconOptions, IconContentIconOptions } from './types.js'; /** * Get CSS for icon, rendered as background or mask */ declare function getIconCSS(icon: IconifyIcon, options?: IconCSSIconOptions): string; /** * Get CSS for icon, rendered as content */ declare function getIconContentCSS(icon: IconifyIcon, options: IconContentIconOptions): string; export { getIconCSS, getIconContentCSS };