withThemeIntlRender
FunctionwithThemeIntlRender(theme: IMThemeVariables, locale: string, messages: I18nMessages, theme2?: IMThemeVariables): WithRenderResult
Create a custom render function with ThemeProvider
and IntlProvider
.
Parameters
Parameter | Type | Default |
---|---|---|
theme | IMThemeVariables | mock |
locale | string | 'en' |
messages | I18nMessages | {} |
theme2 | IMThemeVariables |
|
Returns
WithRenderResult