aboutsummaryrefslogtreecommitdiff
path: root/src/modules/admin/admin.container.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/admin/admin.container.js')
-rw-r--r--src/modules/admin/admin.container.js33
1 files changed, 25 insertions, 8 deletions
diff --git a/src/modules/admin/admin.container.js b/src/modules/admin/admin.container.js
index bd6e1dc..91b0d1c 100644
--- a/src/modules/admin/admin.container.js
+++ b/src/modules/admin/admin.container.js
@@ -1,16 +1,33 @@
-import React, {Component} from 'react';
-
-class AdminContainer extends Component{
- constructor(props){
+import React, { Component } from 'react';
+import { connect } from "react-redux";
+import WithHeaderFooter from '../../shared/header_footer.hoc';
+import WithSidebar from '../../shared/sidebar.hoc';
+class AdminContainer extends Component {
+ constructor(props) {
console.log(props);
super(props);
}
- render(){
- return(
- <div>Admin Container</div>
+ render() {
+ return (
+ <div className="container-fluid">
+ <div className="row">
+ <div className="col-md-12">
+ Admin Container
+ </div>
+ </div>
+ </div>
);
}
}
-export default AdminContainer; \ No newline at end of file
+const mapStateToProps = state => {
+ return {
+
+ };
+};
+
+
+export default connect(mapStateToProps)(
+ WithSidebar(WithHeaderFooter(AdminContainer))
+); \ No newline at end of file