SvgExportContext
Table of contents
Public interface
Signature
interface SvgExportContext {}
Source
packages/editor/src/lib/editor/types/SvgExportContext.tsx
Properties
isDarkMode
Public readonly propertysignature
Whether the export should be in dark mode.
Signature
readonly isDarkMode: boolean
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
| Name | Description |
|---|---|
| |
Returns
void
References

