Kind: Function
Source: atloria-monorepo/apps/web/src/lib/user-colors.ts
Get a consistent color for a user with memoization This is more efficient when the same userId is requested multiple times
Signature
tsfunction getUserColor(userId: string): string
Parameters
| Name | Type |
|---|---|
userId | string |
Returns: string
Was this page helpful?