exportAs
See source codeExport the given shapes as files.
function exportAs(
  editor: Editor,
  ids: TLShapeId[],
  opts: ExportAsOptions
): Promise<void>Parameters
| Name | Description | 
|---|---|
  | The editor instance.  | 
  | The ids of the shapes to export.  | 
  | Options for the export.  | 
Returns
Promise<void>Prev
downsizeImageNext
fitFrameToContent