useFormKitConfig.ts 289 B

12345678910
  1. // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. import type { FormKitConfig } from '@formkit/core'
  3. import { inject } from 'vue'
  4. const useFormKitConfig = () => {
  5. return inject(Symbol.for('FormKitConfig')) as FormKitConfig
  6. }
  7. export default useFormKitConfig