NoData.js 673 Bytes
'use strict';

import React from 'react';
import ReactNative from 'react-native';

const {
    Text,
    Dimensions,
    StyleSheet,
} = ReactNative;

export default class NoData extends React.Component {

    constructor(props) {
        super(props);
    }

    render() {
        return (
            <Text style={styles.container}>{'无结果'}</Text>
        );
    }
}

let styles = StyleSheet.create({
    container: {
        width: Dimensions.get('window').width,
        height: 40,
        fontSize: 20,
        fontWeight: 'bold',
        color: '#999999',
        textAlign: 'center',
        marginTop: 100,
        backgroundColor: 'transparent',
    },
});