LikeMessage.js 1017 Bytes
'use strict';

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

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

export default class LikeMessage 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',
    },

});