zammad/app/frontend/shared/initializer/initializeLinkClasses.ts
2026-01-02 15:41:09 +02:00

15 lines
481 B
TypeScript

// Copyright (C) 2012-2026 Zammad Foundation, https://zammad-foundation.org/
import type { LinkClassMap } from '#shared/components/CommonLink/types.ts'
// Provide your own map with the following keys, the values given here are just examples.
let linkClasses: LinkClassMap = {
base: 'common-link',
internal: 'common-link-internal',
}
export const initializeLinkClasses = (classes: LinkClassMap) => {
linkClasses = classes
}
export const getLinkClasses = () => linkClasses