|
@@ -1,7 +1,7 @@
|
|
|
import React from 'react';
|
|
|
-import {StyleSheet, View, Text , Button} from 'react-native';
|
|
|
-
|
|
|
-import { TextInput } from 'react-native';
|
|
|
+import {StyleSheet, View, Text , Button } from 'react-native';
|
|
|
+import { Icon } from 'react-native-elements'
|
|
|
+import { TextInput } from 'react-native';
|
|
|
|
|
|
|
|
|
export default class MainBar{
|
|
@@ -26,22 +26,27 @@ export default class MainBar{
|
|
|
render(){
|
|
|
return (
|
|
|
<View style={styles.container}>
|
|
|
- <Text>
|
|
|
- Structure
|
|
|
- </Text>
|
|
|
-
|
|
|
- <Text>
|
|
|
- Design
|
|
|
- </Text>
|
|
|
-
|
|
|
<Button
|
|
|
- onPress={(e) => this.triggerSave()}
|
|
|
- title="Save"
|
|
|
- color="#841584" />
|
|
|
+ color="#f1f1f1"
|
|
|
+ title={<Icon name='menu'
|
|
|
+ color="#606060"
|
|
|
+ />}
|
|
|
+ />
|
|
|
<Button
|
|
|
- onPress={(e) => this.none()}
|
|
|
- title="AnotherFunc"
|
|
|
- color="#841584" />
|
|
|
+ color="#f1f1f1"
|
|
|
+ title={<Icon name='home'
|
|
|
+ color="#606060"
|
|
|
+ />}
|
|
|
+ />
|
|
|
+ <Text style={{height:30,width:80,fontSize:11,marginTop:6}}>
|
|
|
+ <Button
|
|
|
+ onPress={(e) => this.triggerSave()}
|
|
|
+ title="Save"
|
|
|
+ color="#606060"
|
|
|
+
|
|
|
+ />
|
|
|
+ </Text>
|
|
|
+
|
|
|
|
|
|
</View>)
|
|
|
}
|
|
@@ -50,7 +55,8 @@ export default class MainBar{
|
|
|
const styles = StyleSheet.create({
|
|
|
container:{
|
|
|
flex:1,
|
|
|
- justifyContent: 'space-around',
|
|
|
+ paddingRight:25,
|
|
|
+
|
|
|
flexDirection:'row',
|
|
|
|
|
|
}
|