mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: rename src to avatarUrl in collaborator (#5177)
* fix: rename to in collaborator * update pr link * fallback to intials on image error
This commit is contained in:
parent
68f23d652f
commit
4ee48d2729
6 changed files with 22 additions and 10 deletions
|
@ -47,7 +47,7 @@ export type Collaborator = {
|
|||
};
|
||||
// The url of the collaborator's avatar, defaults to username intials
|
||||
// if not present
|
||||
src?: string;
|
||||
avatarUrl?: string;
|
||||
};
|
||||
|
||||
export type DataURL = string & { _brand: "DataURL" };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue