Skip to content

Instantly share code, notes, and snippets.

@alexroan alexroan/Content.js
Created May 13, 2020

What would you like to do?
import React, {Component} from 'react';
import {connect} from 'react-redux';
import {Container, Row, Col, Tabs, Tab} from 'react-bootstrap';
import Connections from './Connections';
import PlayerList from "./PlayerList";
import PlayerDetails from "./PlayerDetails";
import PlayerAttributes from './PlayerAttributes';
import Train from './Train';
import Compete from './Compete';
class Content extends Component {
render() {
return (
<Connections />
<Col md="3">
<PlayerList />
<Col md="9">
<Tab eventKey="details" title="Details">
<Col md="6">
<PlayerDetails />
<Col md="6">
<PlayerAttributes />
<Tab eventKey="training" title="Training">
<Train />
<Tab eventKey="compete" title="Compete">
<Compete />
<Tab eventKey="results" title="Results">
Results Tab
function mapStateToProps(state){
return {
export default connect(mapStateToProps)(Content);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.