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.
16 lines
533 B
16 lines
533 B
|
2 years ago
|
import { IconifyIcon } from '@iconify/types';
|
||
|
|
import { IconCSSCommonCodeOptions, IconCSSItemOptions } from './types.js';
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Generates common CSS rules for multiple icons
|
||
|
|
*/
|
||
|
|
declare function getCommonCSSRules(options: IconCSSCommonCodeOptions): Record<string, string>;
|
||
|
|
/**
|
||
|
|
* Generate CSS rules for one icon
|
||
|
|
*
|
||
|
|
* This function excludes common rules
|
||
|
|
*/
|
||
|
|
declare function generateItemCSSRules(icon: Required<IconifyIcon>, options: IconCSSItemOptions): Record<string, string>;
|
||
|
|
|
||
|
|
export { generateItemCSSRules, getCommonCSSRules };
|