edge-iconify
Version:
Iconify integration for the Edge template engine
15 lines (14 loc) • 463 B
TypeScript
import { type IconifyIconCustomisations } from '@iconify/iconify';
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;
}