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.
19 lines
560 B
19 lines
560 B
|
2 years ago
|
import { IconifyJSON } from '@iconify/types';
|
||
|
|
import { IconCSSIconSetOptions, 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 icon
|
||
|
|
*/
|
||
|
|
declare function getIconsCSS(iconSet: IconifyJSON, names: string[], options?: IconCSSIconSetOptions): string;
|
||
|
|
|
||
|
|
export { getIconsCSS, getIconsCSSData };
|