Add user list component + snap to user functionality (#1749)

This commit is contained in:
Oliver Benns 2020-06-19 11:36:49 +01:00 committed by GitHub
parent 8f65e37dac
commit ca87ca6fe9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 333 additions and 32 deletions

View file

@ -58,7 +58,8 @@ export type ActionName =
| "toggleFullScreen"
| "toggleShortcuts"
| "group"
| "ungroup";
| "ungroup"
| "goToCollaborator";
export interface Action {
name: ActionName;
@ -66,6 +67,7 @@ export interface Action {
elements: readonly ExcalidrawElement[];
appState: AppState;
updateData: (formData?: any) => void;
id?: string;
}>;
perform: ActionFn;
keyPriority?: number;