Permalink
Browse files

Extract tab panels into separate feature folders

  • Loading branch information...
markerikson committed Nov 17, 2016
1 parent 922292f commit 07a9c688cb4eaee7aa1939064cd9ea730fc54b90
View
@@ -5,18 +5,14 @@ import {
} from "semantic-ui-react";
import TabBarContainer from "./features/tabs/TabBarContainer";
import UnitInfo from "features/unitInfo/UnitInfo";
import Pilots from "features/pilots/Pilots";
import Mechs from "features/mechs/Mechs";
import UnitOrganization from "features/unitOrganization/UnitOrganization";
import './App.css';
const UnitInfo = () => <div>Unit Info content</div>;
const Pilots = () => <div>Pilots content</div>;
const Mechs = () => <div>Mechs content</div>;
const UnitOrganization = () => <div>Unit Organization content</div>;
class App extends Component {
render() {
const tabs = [
@@ -0,0 +1,5 @@
import React from "react";
const Mechs = () => <div>Mechs content</div>;
export default Mechs;
@@ -0,0 +1 @@
export {default} from "./Mechs";
@@ -0,0 +1,5 @@
import React from "react";
const Pilots = () => <div>Pilots content</div>;
export default Pilots;
@@ -0,0 +1 @@
export {default} from "./Pilots";
@@ -0,0 +1,5 @@
import React from "react";
const UnitInfo = () => <div>Unit Info content</div>;
export default UnitInfo;
@@ -0,0 +1 @@
export {default} from "./UnitInfo";
@@ -0,0 +1,5 @@
import React from "react";
const UnitOrganization = () => <div>Unit Organization content</div>;
export default UnitOrganization;
@@ -0,0 +1 @@
export {default} from "./UnitOrganization";

0 comments on commit 07a9c68

Please sign in to comment.