diff --git a/src/index.js b/src/index.js index 4f9df69b..8be22479 100644 --- a/src/index.js +++ b/src/index.js @@ -3,11 +3,13 @@ import Image from './modules/Image'; import Text from './modules/Text'; import TextInput from './modules/TextInput'; import View from './modules/View'; +import { stylingStrategy } from './modules/react-web-style'; export default { getOtherProps, omitProps, pickProps, + stylingStrategy, Image, Text, TextInput, diff --git a/src/modules/react-web-style/index.js b/src/modules/react-web-style/index.js index 552c43e8..f4187ca6 100644 --- a/src/modules/react-web-style/index.js +++ b/src/modules/react-web-style/index.js @@ -17,7 +17,6 @@ class WebStyleComponent extends React.Component { element: 'div' } - render() { const { component: Component, ...other } = this.props; @@ -30,4 +29,4 @@ class WebStyleComponent extends React.Component { } } -export { StylePropTypes, WebStyleComponent }; +export { StylePropTypes, stylingStrategy, WebStyleComponent };