( component: React.ComponentType
> ): React.ComponentClass
; diff --git a/src/index.js b/src/index.js index 99d6b2eda7..17a5817908 100644 --- a/src/index.js +++ b/src/index.js @@ -36,7 +36,13 @@ import { // helpers import Text from './text/Text'; -import { colors, ThemeProvider, ThemeConsumer, withTheme } from './config'; +import { + colors, + ThemeProvider, + ThemeConsumer, + ThemeContext, + withTheme, +} from './config'; import getIconType, { registerCustomIconType } from './helpers/getIconType'; import normalize from './helpers/normalizeText'; @@ -71,6 +77,7 @@ export { Overlay, ThemeProvider, ThemeConsumer, + ThemeContext, withBadge, withTheme, Image,