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