Guest User

Untitled

a guest
Mar 24th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. // Import the React library and it's 'Component'
  2. import React, { Component } from 'react';
  3. // Import the required components from the React Native library
  4. import { View, Text } from 'react-native';
  5.  
  6. // Create class
  7. class MyAwesomeClass extends Component {
  8. render() {
  9. return (
  10. <View>
  11. <Text>Something</Text>
  12. </View>
  13. );
  14. }
  15. }
  16.  
  17. // Export class so it's accessible to other files in the project
  18. export default MyAwesomeClass;
Add Comment
Please, Sign In to add comment