MCPcopy Create free account
hub / github.com/codename-co/stack / textDirection

Function textDirection

packages/website/src/i18n/utils.ts:61–70  ·  view source on GitHub ↗
(lang: Lang)

Source from the content-addressed store, hash-verified

59};
60
61export const textDirection = (lang: Lang) => {
62 switch (lang) {
63 case "ar":
64 // case "fa":
65 // case "he":
66 return "rtl";
67 default:
68 return "ltr";
69 }
70};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected