UNPKG

@ark-ui/vue

Version:

A collection of unstyled, accessible UI components for Vue, utilizing state machines for seamless interaction.

11 lines (10 loc) 383 B
import { createContext } from "../../utils/create-context.js"; import { computed } from "vue"; //#region src/providers/locale/use-locale-context.ts var DEFAULT_LOCALE = computed(() => ({ dir: "ltr", locale: "en-US" })); var [LocaleContextProvider, useLocaleContext] = createContext("LocaleContext"); //#endregion export { DEFAULT_LOCALE, LocaleContextProvider, useLocaleContext };