Export the styling strategy

This commit is contained in:
Nicolas Gallagher
2015-08-19 14:28:17 -07:00
parent 8ec27cefab
commit 344239bd8a
2 changed files with 3 additions and 2 deletions

View File

@@ -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,

View File

@@ -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 };