YH_PtrRefresh.js 597 Bytes
/**
 * Description:
 *
 * Author:  Bruce.Lu
 * Version: 1.0
 * Created on 2017/2/23.
 */
import React from 'react';
import ReactNative from 'react-native';

let {
    requireNativeComponent,
    View
} = ReactNative;

let YH_PtrRefreshView = requireNativeComponent('YH_PtrRefresh', null);

export default class YH_PtrRefresh extends React.Component {

    static propTypes = {
        ...View.propTypes // 包含默认的View的属性
    };

    constructor(props) {
        super(props);
    }

    render() {
        return <YH_PtrRefreshView {...this.props} data={this.props.data} />;
    }
}