icon.d.ts 454 B

12345678910111213
  1. import { IconifyIcon } from '@iconify/types';
  2. import { IconCSSIconOptions, IconContentIconOptions } from './types.js';
  3. /**
  4. * Get CSS for icon, rendered as background or mask
  5. */
  6. declare function getIconCSS(icon: IconifyIcon, options?: IconCSSIconOptions): string;
  7. /**
  8. * Get CSS for icon, rendered as content
  9. */
  10. declare function getIconContentCSS(icon: IconifyIcon, options: IconContentIconOptions): string;
  11. export { getIconCSS, getIconContentCSS };