From 8196fb7123126b8b4111f77a70f1109fbaad65a4 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Mon, 19 Jul 2021 01:46:36 +0200 Subject: added graph button --- app/components/local/local.tsx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'app/components/local/local.tsx') 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 ( - - Hello - + ) }) -- cgit v1.2.3