API reference: @salmonui/rich-text/collab
CollaborationUserinterface
import type { CollaborationUser } from '@salmonui/rich-text/collab';interface CollaborationUser {
readonly id: string;
readonly name: string;
readonly color: string;
}
The local user as remote peers see them (cursor label and color).
| Name | Signature | Description |
|---|---|---|
id | readonly id: string; | |
name | readonly name: string; | |
color | readonly color: string; | A CSS color for the remote cursor and selection, for example |