mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
refactor: Rename prop scrollToCenter and setScrollToCenter to scrollToContent and setScrollToContent respectively (#3261)
* refactor: Rename prop scrollToCenter and setScrollToCenter to scrollToContent and setScrollToContent respectively * fix * update changelog/readme * fix
This commit is contained in:
parent
e90e56452f
commit
052b73d95b
7 changed files with 16 additions and 14 deletions
|
@ -15,7 +15,7 @@ export interface ImportedDataState {
|
|||
source?: string;
|
||||
elements?: DataState["elements"] | null;
|
||||
appState?: Partial<DataState["appState"]> | null;
|
||||
scrollToCenter?: boolean;
|
||||
scrollToContent?: boolean;
|
||||
}
|
||||
|
||||
export interface LibraryData {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue