Last active
December 10, 2018 02:00
-
-
Save haruelrovix/04eeb6c4d8d0cc56e041e5be2c20bc97 to your computer and use it in GitHub Desktop.
RNW x RNE: Add Home component
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { PureComponent } from 'react'; | |
import { View } from 'react-native'; | |
import { Input, Button } from 'react-native-elements'; | |
class Home extends PureComponent { | |
render() { | |
return ( | |
<View> | |
<Input | |
label='Owner' | |
placeholder="Github's owner" | |
/> | |
<Input | |
label='Repo' | |
placeholder="Github's repository name" | |
/> | |
<Button | |
title='SUBMIT' | |
icon={{ | |
color: 'white', | |
name:'paper-plane', | |
size: 15, | |
type: 'font-awesome' | |
}} | |
/> | |
</View> | |
); | |
} | |
} | |
export default Home; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment