IOweb/node_modules/astro-icon/typings/integration.d.ts
2026-07-03 15:07:38 -05:00

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>;