Created
May 13, 2020 09:22
-
-
Save alexroan/08ba254b1526f1239975c7109edbc529 to your computer and use it in GitHub Desktop.
Content.js-part5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ( | |
<Container> | |
<Connections /> | |
<Row> | |
<Col md="3"> | |
<PlayerList /> | |
</Col> | |
<Col md="9"> | |
<Tabs> | |
<Tab eventKey="details" title="Details"> | |
<Row> | |
<Col md="6"> | |
<PlayerDetails /> | |
</Col> | |
<Col md="6"> | |
<PlayerAttributes /> | |
</Col> | |
</Row> | |
</Tab> | |
<Tab eventKey="training" title="Training"> | |
<Train /> | |
</Tab> | |
<Tab eventKey="compete" title="Compete"> | |
<Compete /> | |
</Tab> | |
<Tab eventKey="results" title="Results"> | |
Results Tab | |
</Tab> | |
</Tabs> | |
</Col> | |
</Row> | |
</Container> | |
) | |
} | |
} | |
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