initializeFormClasses.ts 421 B

1234567891011121314
  1. // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. import type { FormClassMap } from './types.ts'
  3. // Provide your own map with the following keys, the values given here are just examples.
  4. let formClasses: FormClassMap = {
  5. loading: 'form-loading',
  6. }
  7. export const initializeFormClasses = (classes: FormClassMap) => {
  8. formClasses = classes
  9. }
  10. export const getFormClasses = () => formClasses