UNPKG

edge-iconify

Version:

Iconify integration for the Edge template engine

15 lines (14 loc) 459 B
import { type IconifyIconCustomisations } from 'iconify-icon'; import type { EdgeIconifyOptions } from './types.js'; /** * Svg Generators exposes the API to generate an SVG tag using the * iconify API */ export declare class SvgGenerator { #private; constructor(options?: EdgeIconifyOptions); /** * Generate svg for the given icon name */ generate(name: string, props?: IconifyIconCustomisations & Record<string, any>): string; }