From 67a903411e1885aee95265fd42f88c8119f79d63 Mon Sep 17 00:00:00 2001
From: Julia Friesel <julia.friesel@gmail.com>
Date: Sat, 11 Aug 2018 15:54:15 +0200
Subject: [PATCH] Add press handler to column

---
 components/chart/day-column.js | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/components/chart/day-column.js b/components/chart/day-column.js
index cdcb015c..008cc311 100644
--- a/components/chart/day-column.js
+++ b/components/chart/day-column.js
@@ -1,6 +1,6 @@
 import React, { Component } from 'react'
 import {
-  Text, View
+  Text, View, TouchableOpacity
 } from 'react-native'
 import Icon from 'react-native-vector-icons/Entypo'
 import styles from './styles'
@@ -100,10 +100,15 @@ export default class DayColumn extends Component {
     //     : null} */}
 
     return React.createElement(
-      View,
+      TouchableOpacity,
       {
         style: styles.column.rect,
-        key: index.toString()
+        key: index.toString(),
+        onPress: () => {
+          this.passDateToDayView(dateString)
+        },
+        activeOpacity: 0.,
+        
       },
       columnElements
     )
-- 
GitLab