summaryrefslogtreecommitdiff
path: root/app/components/local/local.tsx
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-07-19 01:46:36 +0200
committerThomas F. K. Jorna <[email protected]>2021-07-19 01:46:36 +0200
commit8196fb7123126b8b4111f77a70f1109fbaad65a4 (patch)
tree591a42684bc73743f9c416252a20b519a84daad9 /app/components/local/local.tsx
parent53c0324bf91f69ad5b38fe48956020b5279934c4 (diff)
added graph button
Diffstat (limited to 'app/components/local/local.tsx')
-rw-r--r--app/components/local/local.tsx11
1 files changed, 6 insertions, 5 deletions
diff --git a/app/components/local/local.tsx b/app/components/local/local.tsx
index 82ea0ee..e6984fc 100644
--- a/app/components/local/local.tsx
+++ b/app/components/local/local.tsx
@@ -1,9 +1,10 @@
import * as React from "react"
-import { StyleProp, TextStyle, View, ViewStyle } from "react-native"
+import { StyleProp, TextStyle, TouchableOpacity, View, ViewStyle } from "react-native"
import { observer } from "mobx-react-lite"
import { color, typography } from "../../theme"
import { Text } from "../"
import { flatten } from "ramda"
+import Icon from "react-native-vector-icons/MaterialCommunityIcons"
const CONTAINER: ViewStyle = {
justifyContent: "center",
@@ -25,13 +26,13 @@ export interface LocalProps {
/**
* Describe your component here
*/
-export const Local = observer(function Local(props: LocalProps) {
+export const LocalButton = observer(function LocalButton(props: LocalProps): boolean {
const { style } = props
const styles = flatten([CONTAINER, style])
return (
- <View style={styles}>
- <Text style={TEXT}>Hello</Text>
- </View>
+ <Icon color="#a99f1f" name="graph"
+ style={{position:"absolute", zIndex: 100, width: 500}}
+ />
)
})