UNPKG

svg-in-png

Version:

export SVG into image, its work with recharts and any other image svg

8 lines 411 B
import { options } from "./interfaces"; export declare function svgExport({ id, titleToExport, options, }: { id: string; titleToExport: string; options?: options; }): Promise<void>; export declare function renderSVG(svg: SVGSVGElement, context: CanvasRenderingContext2D | null, options: options | undefined, canvas: HTMLCanvasElement, titleToExport: string): any; //# sourceMappingURL=index.d.ts.map