react-localization-dk
Version:
Module for localize React app
16 lines (15 loc) • 457 B
TypeScript
/// <reference types="react" />
type Props = {
localization: any;
children: any;
defaultValue: string;
abbreviations?: Array<string>;
};
export declare const LocalizationProvider: ({ localization, children, defaultValue, abbreviations }: Props) => JSX.Element;
export declare const useLocalization: {
locale: null;
setCurrentAbbreviation: null;
currentAbbreviation: null;
abbreviations: never[];
};
export {};