mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-09 04:45:41 +00: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 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,
|
||||||
|
|||||||
Vendored
+1
-2
@@ -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 };
|
||||||
|
|||||||
Reference in New Issue
Block a user