SystemMessage.js 1019 Bytes
'use strict';

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

const {
    View,
    Text,
    Image,
    TextInput,
    StyleSheet,
    Platform,
    Dimensions,
} = ReactNative;

export default class SystemMessage extends React.Component {
    static propTypes = {
        userInfo: React.PropTypes.shape({
            name: React.PropTypes.string,
            sign: React.PropTypes.string,
        }),
    }

    constructor(props) {
        super(props);
    }

    _renderSeparator() {
        return (
            <View style={styles.separator}/>
        );
    }

    render() {
        return (
            <View style={styles.container}>
                <Text>系统消息</Text>
            </View>


        );
    }
}



let {width, height} = Dimensions.get('window');
let navbarHeight = (Platform.OS === 'android') ? 50 : 64;
let styles = StyleSheet.create({
    container: {
        top: navbarHeight,
        height: height-navbarHeight,
        backgroundColor: 'white',
    },

});