mirror of
https://github.com/zhigang1992/react-native-web.git
synced 2026-05-23 00:03:37 +08:00
Export the styling strategy
This commit is contained in:
@@ -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,
|
||||
|
||||
3
src/modules/react-web-style/index.js
vendored
3
src/modules/react-web-style/index.js
vendored
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user