import { inject, type InjectionKey } from "vue";

export const formLocaleKey: InjectionKey<string | null> = Symbol("formLocale");

export function useFormLocale(): string | null {
  return inject(formLocaleKey, null);
}
