* Remove extra subjects from app-explorer * Use bs58 addresses * Base upgrades subject -> onChange * app-storage & app-explorer works * Remove useless placeholder * Progres... * Rename Submission -> Selection * Baby steps... things display now... * setState operational * Explicit onChange * Work around eslint issues (!!!) * @flow fixes * Small styling updates * Small app content styling updates * Simplify
20 lines
543 B
JavaScript
20 lines
543 B
JavaScript
// @flow
|
|
|
|
declare type I18Next$Translate$Config = {
|
|
defaultValue: string,
|
|
replace?: {
|
|
[string]: any
|
|
}
|
|
};
|
|
|
|
declare type I18Next$Translate = (key: string, config: I18Next$Translate$Config) => string;
|
|
|
|
declare module 'react-i18next' {
|
|
declare module.exports: {
|
|
I18nextProvider: React$StatelessFunctionalComponent<*>,
|
|
Trans: React$StatelessFunctionalComponent<*>,
|
|
reactI18nextModule: {},
|
|
translate: (context: string | Array<string>) => (Component: React$ComponentType<*>) => React$StatelessFunctionalComponent<*>
|
|
}
|
|
}
|