3
0

View.js 292 B

123456789101112131415161718192021222324
  1. import React from 'react';
  2. import Module from '../lib/Module';
  3. import { View } from 'react-native';
  4. export default class ViewComp extends Module {
  5. constructor(props) {
  6. super(props);
  7. }
  8. display() {
  9. return <View>
  10. {this.props.children}
  11. </View>;
  12. }
  13. }