initializeLinkClasses.ts 445 B

1234567891011121314
  1. // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. import type { LinkClassMap } from '#shared/components/CommonLink/types.ts'
  3. // Provide your own map with the following keys, the values given here are just examples.
  4. let linkClasses: LinkClassMap = {
  5. base: 'common-link',
  6. }
  7. export const initializeLinkClasses = (classes: LinkClassMap) => {
  8. linkClasses = classes
  9. }
  10. export const getLinkClasses = () => linkClasses