ThemeIntlWrapper
FunctionThemeIntlWrapper(theme: IMThemeVariables, locale: string, messages: I18nMessages, theme2?: IMThemeVariables): (__namedParameters: { children: any }) => Element
Create a wrapper with ThemeProvider
and IntlProvider
.
Parameters
Parameter | Type |
---|---|
theme | IMThemeVariables |
locale | string |
messages | I18nMessages |
theme2 | IMThemeVariables |
Returns
(__namedParameters: { children: any }) => Element
function(__namedParameters: { children: any }): Element
Parameters
Parameter | Type |
---|---|
__named | { children: any } |
Returns
Element