Skip to content

Instantly share code, notes, and snippets.

@haruelrovix
Last active December 10, 2018 02:00
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
RNW x RNE: Add Home component
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