mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-11 03:20:14 +02:00
Add onCreate in customElementConfig
This commit is contained in:
@@ -232,6 +232,7 @@ export type CustomElementConfig = {
|
||||
width?: number;
|
||||
height?: number;
|
||||
stackedOnTop: boolean;
|
||||
onCreate?: (element: ExcalidrawElement) => void;
|
||||
};
|
||||
export interface ExcalidrawProps {
|
||||
onChange?: (
|
||||
|
Reference in New Issue
Block a user