@mocanvas/editor · function

getDefaultUserProperties

declare function getDefaultUserProperties(): {
    name: string;
    color: string;
    avatarUrl: string | null;
    meta: JsonObject;
}

The default properties the built-in user record type starts from.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.