SeperatorLine.js
527 Bytes
/**
* Created by yzdd on 2018/1/5.
*/
import React, {Component} from 'react';
import {
View,
Text,
StyleSheet
} from 'react-native';
import {width,height} from '../utils/publiscStyle';
export default class SeperatorLine extends Component {
render() {
const {width, height} = this.props;
return (
<View style={{width: width, height: height, backgroundColor: "#F6F6F6"}}>
</View>
);
}
}
SeperatorLine.defaultProps = {
width: width - 16,
height: 1
};
const styles = StyleSheet.create({});