1 | // tslint:disable:no-empty
|
2 | import React from 'react';
|
3 | import {
|
4 | StyleSheet,
|
5 | Text,
|
6 | View,
|
7 | } from 'react-native';
|
8 |
|
9 | import cmpStyle from './style';
|
10 | const styles = StyleSheet.create(cmpStyle);
|
11 | export default class extends React.PureComponent {
|
12 | constructor(props) {
|
13 | super(props);
|
14 | this.state = {
|
15 | };
|
16 | }
|
17 |
|
18 | render() {
|
19 | return (
|
20 | <View style={styles.container}>
|
21 | <Text>{this.props.children}</Text>
|
22 | </View>
|
23 | );
|
24 | }
|
25 | }
|