16 lines
401 B
TypeScript
16 lines
401 B
TypeScript
import type { IconifyJSON, SVGOOptions } from "./iconify";
|
|
|
|
export type IntegrationOptions = {
|
|
include?: Record<string, ["*"] | string[]>;
|
|
/**
|
|
* @default "src/icons"
|
|
*/
|
|
iconDir?: string;
|
|
/**
|
|
* @default { plugins: ['preset-default'] }
|
|
*/
|
|
svgoOptions?: SVGOOptions;
|
|
};
|
|
|
|
export type IconCollection = IconifyJSON;
|
|
export type AstroIconCollectionMap = Record<string, IconCollection>;
|