UNPKG

@kobalte/core

Version:

Unstyled components and primitives for building accessible web apps and design systems with SolidJS.

11 lines (9 loc) • 447 B
type Direction = "rtl" | "ltr"; declare const RTL_LANGS: Set<string>; /** * Determines if a locale is read right to left using [Intl.Locale] * {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale}. */ declare function isRTL(locale: string): boolean; declare function getReadingDirection(locale: string): Direction; export { Direction as D, RTL_LANGS as R, getReadingDirection as g, isRTL as i };