mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-10 19:10:20 +02:00
Support svg as a async function returing promise/string
This commit is contained in:
@@ -228,7 +228,7 @@ export type CustomElementConfig = {
|
||||
type: "custom";
|
||||
customType: string;
|
||||
transformHandles?: boolean;
|
||||
svg: string;
|
||||
svg: string | ((element?: ExcalidrawElement) => string | Promise<string>);
|
||||
width?: number;
|
||||
height?: number;
|
||||
stackedOnTop: boolean;
|
||||
|
Reference in New Issue
Block a user