allow to supply canvas offsets from upstream (#2271)
This commit is contained in:
@ -126,6 +126,10 @@ export type LibraryItems = readonly LibraryItem[];
|
||||
export interface ExcalidrawProps {
|
||||
width: number;
|
||||
height: number;
|
||||
/** if not supplied, calculated by Excalidraw */
|
||||
offsetLeft?: number;
|
||||
/** if not supplied, calculated by Excalidraw */
|
||||
offsetTop?: number;
|
||||
onChange?: (
|
||||
elements: readonly ExcalidrawElement[],
|
||||
appState: AppState,
|
||||
|
Reference in New Issue
Block a user