You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
787 B
22 lines
787 B
import { IconifyJSON } from '@iconify/types';
|
|
import { IconCSSIconSetOptions, IconContentIconSetOptions, CSSUnformattedItem } from './types.js';
|
|
|
|
interface CSSData {
|
|
common?: CSSUnformattedItem;
|
|
css: CSSUnformattedItem[];
|
|
errors: string[];
|
|
}
|
|
/**
|
|
* Get data for getIconsCSS()
|
|
*/
|
|
declare function getIconsCSSData(iconSet: IconifyJSON, names: string[], options?: IconCSSIconSetOptions): CSSData;
|
|
/**
|
|
* Get CSS for icons as background/mask
|
|
*/
|
|
declare function getIconsCSS(iconSet: IconifyJSON, names: string[], options?: IconCSSIconSetOptions): string;
|
|
/**
|
|
* Get CSS for icons as content
|
|
*/
|
|
declare function getIconsContentCSS(iconSet: IconifyJSON, names: string[], options: IconContentIconSetOptions): string;
|
|
|
|
export { getIconsCSS, getIconsCSSData, getIconsContentCSS };
|
|
|