Table of contents

Public interface

Signature
interface SvgExportContext {}
Source

packages/editor/src/lib/editor/types/SvgExportContext.tsx


Methods

addExportDef

Public methodsignature

Add contents to the <defs> section of the export SVG. Each export def should have a unique key. If multiple defs come with the same key, only one will be added.

Parameters
NameDescription

def

SvgExportDef
Returns
void
References

SvgExportDef


SVGContainerPropsSvgExportDef