mirror of
https://github.com/zammad/zammad
synced 2026-05-24 09:48:36 +00:00
14 lines
421 B
TypeScript
14 lines
421 B
TypeScript
// Copyright (C) 2012-2026 Zammad Foundation, https://zammad-foundation.org/
|
|
|
|
import type { FormClassMap } from './types.ts'
|
|
|
|
// Provide your own map with the following keys, the values given here are just examples.
|
|
let formClasses: FormClassMap = {
|
|
loading: 'form-loading',
|
|
}
|
|
|
|
export const initializeFormClasses = (classes: FormClassMap) => {
|
|
formClasses = classes
|
|
}
|
|
|
|
export const getFormClasses = () => formClasses
|