import React, { Component } from 'react'; // import {card, tx} from '../../kit/lib' import { Card, Button, Timeline, Row, Col, List, Icon } from 'antd'; import 'antd/dist/antd.css'; import {Line, Doughnut} from 'react-chartjs-2'; var chartLineData = { labels: ['September', 'October', 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August'], datasets: [{ label: 'Balance', backgroundColor: 'rgba(54, 162, 235, 0)', borderColor: 'rgba(54, 162, 235, 1)', borderWidth: 1, hoverBackgroundColor: 'rgba(54, 162, 235,0.4)', hoverBorderColor: 'rgba(54, 162, 235,1)', data: [0, 59, 55, -50, -56, 120, 40, -20, 10, 45] }] }; var chartDoughnutData = { labels: ['Received', 'Sended'], datasets: [{ label: 'Identities use', backgroundColor: ['#36A2EB', '#FF6384'], hoverBackgroundColor: ['#36A2EB', '#FF6384'], data: [25, 20] }] }; const listData = [ 'New transaction received', 'Sended new transaction' ]; class dashboard extends Component { constructor(props) { super(props); this.state = { }; } render() { return (
More}> Transaction received Transaction sended Backup imported Backup exported
More}> Received 10 credits · 2018-08-07 Sended 20 credits · 2018-08-06 Received 15 credits · 2018-08-05 Sended 20 credits · 2018-08-05 Received 15 credits · 2018-08-04 Account created · 2018-08-03
); } } export default dashboard;