UNPKG

452 BJavaScriptView Raw
1// tslint:disable:no-empty
2import React from 'react';
3import {
4 StyleSheet,
5 Text,
6 View,
7} from 'react-native';
8
9import cmpStyle from './style';
10const styles = StyleSheet.create(cmpStyle);
11export 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}