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
+2
View File
@@ -3,11 +3,13 @@ import Image from './modules/Image';
import Text from './modules/Text'; import Text from './modules/Text';
import TextInput from './modules/TextInput'; import TextInput from './modules/TextInput';
import View from './modules/View'; import View from './modules/View';
import { stylingStrategy } from './modules/react-web-style';
export default { export default {
getOtherProps, getOtherProps,
omitProps, omitProps,
pickProps, pickProps,
stylingStrategy,
Image, Image,
Text, Text,
TextInput, TextInput,
+1 -2
View File
@@ -17,7 +17,6 @@ class WebStyleComponent extends React.Component {
element: 'div' element: 'div'
} }
render() { render() {
const { component: Component, ...other } = this.props; const { component: Component, ...other } = this.props;
@@ -30,4 +29,4 @@ class WebStyleComponent extends React.Component {
} }
} }
export { StylePropTypes, WebStyleComponent }; export { StylePropTypes, stylingStrategy, WebStyleComponent };