You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

34 lines
757 B

import React, { Component } from "react";
import Spin from 'antd/lib/spin';
import "./index.less";
export default class Dashboard2Container extends Component {
constructor(props) {
super(props);
this.state = {
menuClick: false
};
}
componentWillMount() {
}
navigationClick() {
this.setState({ menuClick: false });
setTimeout(() =>this.setState({ menuClick: true }), 3000);
}
render() {
const { menuClick } = this.state;
if (menuClick) {
return (
<div className="my-dashboard2">
<h1>Dashboard 2 REACT!!!</h1>
</div>
);
}
return <div><Spin /></div>
}
}