UNPKG

npmchenwei111

Version:

test1111

31 lines (23 loc) 490 B
/** * Created by ziyu on 2017/6/19. */ import React, { Component } from 'react' import { StyleSheet, View } from 'react-native' import { px2dp } from '../../../utils/Px2dp' class Index extends Component { constructor (props) { super(props) this.state = { } } render () { return ( <View style={{height: px2dp(this.props.height || 10), backgroundColor: '#efeff4'}} /> ) } } const styles = StyleSheet.create({ border: { } }) export default Index