npmchenwei111
Version:
test1111
35 lines (28 loc) • 595 B
JavaScript
/**
* Created by ziyu on 2017/6/19.
*/
import React, { Component } from 'react'
import { StyleSheet, Text } from 'react-native'
class CardTitleView extends Component {
constructor (props) {
super(props)
this.state = {}
}
componentDidMount () {
}
render () {
return (
<Text style={[styles.confirmTitle, this.props.style]}>{this.props.content}</Text>
)
}
}
const styles = StyleSheet.create({
confirmTitle: {
paddingTop: 10,
paddingBottom: 10,
paddingHorizontal: 16,
fontSize: 16,
color: '#626262'
}
})
export default CardTitleView