react-native-web-internals
Version:
React Native for Web
14 lines • 452 B
TypeScript
type Locale = string;
type WritingDirection = 'ltr' | 'rtl';
type LocaleValue = {
direction: WritingDirection;
locale: Locale | null;
};
type ProviderProps = {
children: any;
} & LocaleValue;
export declare function getLocaleDirection(locale: Locale): WritingDirection;
export declare function LocaleProvider(props: ProviderProps): any;
export declare function useLocaleContext(): LocaleValue;
export {};
//# sourceMappingURL=index.d.ts.map