Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React from 'react';
- import { StyleSheet, Text, View, TextInput, Button } from 'react-native';
- import { StackNavigator } from 'react-navigation';
- export default class Ad extends React.Component {
- render() {
- return (
- <View style = {styles.container}>
- <Text style = {styles.MainTitle}>Create Ad</Text>
- <View>
- <Text style = {styles.Title}>Title</Text>
- <TextInput
- returnKeyType = "next"
- keyboardType = "default"
- autoCorrect = {true}
- style = {styles.input}
- </TextInput>
- </View>
- <View>
- <Text style = {styles.Title}>Description</Text>
- <TextInput
- returnKeyType = "next"
- keyboardType = "default"
- autoCorrect = {true}
- style = {styles.input}
- </TextInput>
- </View>
- </View>
- );
- }
- }
- const styles = StyleSheet.create({
- container: {
- flex: 2,
- backgroundColor: 'rgba(255,255,255,1)',
- alignItems: 'center',
- justifyContent: 'center',
- },
- Title:{},
- input:{},
- MainTitle:{},
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement