first commit

This commit is contained in:
2026-03-10 16:18:05 +00:00
commit 11f9c069b5
31635 changed files with 3187747 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
"use strict";
import * as React from 'react';
import { LocaleDirContext } from "./LocaleDirContext.js";
/**
* Hook to access the text direction specified in the `NavigationContainer`.
*/
export function useLocale() {
const direction = React.useContext(LocaleDirContext);
if (direction === undefined) {
throw new Error("Couldn't determine the text direction. Is your component inside NavigationContainer?");
}
return {
direction
};
}
//# sourceMappingURL=useLocale.js.map