import React, { Component } from "react";
import { Col, Row } from "antd";
import OrdersTempTable from "../charts/OrdersTempTable";
import MobileDeal from "../charts/MobileDeal";
import Orders from "../charts/Orders";
import ExchangeRate from "../charts/ExchangeRate";

class Dashboard extends Component {
	constructor(props) {
		super(props);
	}

	render() {
		return (
			<div>
				<div>
					<Row>
						<Col span={24}>
							<Orders />
						</Col>

						<Col span={24}>
							<ExchangeRate />
						</Col>
						<Col span={12}>
							<OrdersTempTable />
						</Col>

						<Col span={12}>
							<MobileDeal />
						</Col>
					</Row>
				</div>
			</div>
		);
	}
}

export default Dashboard;
