-
Notifications
You must be signed in to change notification settings - Fork 0
/
InputScreen.js
46 lines (43 loc) · 1.23 KB
/
InputScreen.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import React, { Component } from "react";
import { Switch } from "react-native"
import { Container, Button, Text, Header, Left, Right, Icon, Body, Title, View, Content, Form, Item, Label, Input, List, ListItem} from 'native-base';
export default class InputScreen extends React.Component {
render() {
return (
<Container>
<Header>
<Left>
<Button transparent onPress={() => this.props.navigation.navigate("DrawerOpen")}>
<Icon name='menu' />
</Button>
</Left>
<Body>
<Title>Expense</Title>
</Body>
<Right/>
</Header>
<Content>
<Form>
<Item floatingLabel>
<Label>Amount</Label>
<Input keyboardType="numeric" />
</Item>
<List>
<ListItem icon>
<Left>
<Icon name="plane" />
</Left>
<Body>
<Text>Expense/Income</Text>
</Body>
<Right>
<Switch value={false} />
</Right>
</ListItem></List>
</Form>
<Button block><Text>Submit</Text></Button>
</Content>
</Container>
)
}
}