Integrate storybook-addon-intl

This commit is contained in:
SleepWalker
2020-01-20 09:51:37 +02:00
parent dfa8c6df5f
commit 3608a53a95
8 changed files with 68 additions and 9 deletions

View File

@ -4,8 +4,8 @@ import locales from 'app/i18n';
import intlPolyfill from './intlPolyfill';
const SUPPORTED_LANGUAGES = Object.keys(locales);
const DEFAULT_LANGUAGE = 'en';
export const SUPPORTED_LANGUAGES = Object.keys(locales);
export const DEFAULT_LANGUAGE = 'en';
function getBrowserPreferredLanguages(): string[] {
return []

View File

@ -1 +1,2 @@
export * from './i18n';
export { default } from './i18n';