@mocanvas/editor · interface
interface UseCurrentUserOptionsThis one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.
Properties · 2
setUserPreferences: (next: UserPreferencesState) => voidHow to replace it. A plain setter; the hook never calls it with an updater.
userPreferences: UserPreferencesStateThe preferences object the host holds — typically React state.
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.