mirror of
https://github.com/zammad/zammad
synced 2026-05-24 09:48:36 +00:00
16 lines
560 B
TypeScript
16 lines
560 B
TypeScript
// Copyright (C) 2012-2026 Zammad Foundation, https://zammad-foundation.org/
|
|
|
|
import type { AvatarClassMap } from '#shared/components/CommonAvatar/types.ts'
|
|
|
|
// Provide your own map with the following keys, the values given here are just examples.
|
|
let avatarClasses: AvatarClassMap = {
|
|
base: 'common-avatar-base',
|
|
vipUser: 'common-avatar-vip-user',
|
|
vipOrganization: 'common-avatar-vip-organization',
|
|
}
|
|
|
|
export const initializeAvatarClasses = (classes: AvatarClassMap) => {
|
|
avatarClasses = classes
|
|
}
|
|
|
|
export const getAvatarClasses = () => avatarClasses
|