react-native-localize
Version:
A toolbox for your React Native app localization.
16 lines • 651 B
TypeScript
import { type ConfigPlugin } from "@expo/config-plugins";
declare const PACKAGE_NAME = "react-native-localize";
type LocalizePluginConfig = {
/**
* List of supported locale codes (e.g. `["en", "fr", "zh-Hans-CN"]`).
* Can be a single array shared by both platforms, or platform-specific arrays.
*/
locales?: string[] | {
android?: string[];
ios?: string[];
};
};
export declare const withLocalize: ConfigPlugin<LocalizePluginConfig | undefined>;
declare const _default: (config: LocalizePluginConfig) => [typeof PACKAGE_NAME, LocalizePluginConfig];
export default _default;
//# sourceMappingURL=expo.d.ts.map