YH_GoodsStore.js
543 Bytes
import React from 'react';
import ReactNative from 'react-native';
import ImmutablePropTypes from 'react-immutable-proptypes';
let {
requireNativeComponent,
View
} = ReactNative;
let YH_GoodsStoreView = requireNativeComponent('YH_GoodsStoreView', null);
export default class YH_GoodsStore extends React.Component {
static propTypes = {
...View.propTypes // 包含默认的View的属性
};
constructor(props) {
super(props);
}
render() {
return <YH_GoodsStoreView {...this.props} data={this.props.data} />;
}
}