feat: support src collaborators (#5114)

* feat: support avatarURLfor collaborators

* fix

* better avatars :)

* use position fixed for tooltips so it renders correctly when offsets updated

* update docs

* Update src/excalidraw-app/collab/CollabWrapper.tsx

* rename avatarUrl to src
This commit is contained in:
Aakansha Doshi 2022-05-02 15:15:24 +05:30 committed by GitHub
parent 22b2e10ddb
commit 9e6d5fdbcb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 69 additions and 18 deletions

View file

@ -45,6 +45,9 @@ export type Collaborator = {
background: string;
stroke: string;
};
// The url of the collaborator's avatar, defaults to username intials
// if not present
src?: string;
};
export type DataURL = string & { _brand: "DataURL" };