11 lines
451 B
TypeScript
11 lines
451 B
TypeScript
import { IconCSSIconOptions, IconContentIconOptions } from "./types.js";
|
|
import { IconifyIcon } from "@iconify/types";
|
|
/**
|
|
* 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 }; |