import React, { Component } from 'react'; import { View, Text, TouchableOpacity } from 'react-native'; import { connect } from 'react-redux'; import { Actions } from 'react-native-router-flux'; import { initLSClase } from '../actions/'; import MyAbout from './MyAbout'; import LSListaClases from './LSListaClases'; import { Card, CardSection } from '../components/common'; class Menu extends Component { componentWillMount(){ this.props.initLSClase(); } componentWillReceiveProps() { this.props.initLSClase(); } render() { return ( Actions.ListaCursadas()}> Cursadas Actions.Live()}> Curso en vivo Actions.LSClases()}> Clases descargadas Perfil Actions.About()}> Como llegar / acerca de / ?? ); }; } export default connect(null, { initLSClase })(Menu);