astro-icon
Version:
This **[Astro integration](https://docs.astro.build/en/guides/integrations-guide/)** provides a straight-forward `Icon` component for [Astro](https://astro.build).
10 lines (9 loc) • 491 B
TypeScript
import type { AstroIconCollectionMap, IconCollection, IntegrationOptions } from "../../typings/integration";
import type { AutoInstall } from "../../typings/iconify";
interface LoadOptions {
root: URL;
include?: IntegrationOptions["include"];
}
export default function loadIconifyCollections({ root, include, }: LoadOptions): Promise<AstroIconCollectionMap>;
export declare function loadCollection(name: string, autoInstall?: AutoInstall): Promise<IconCollection | void>;
export {};