import React, { MouseEvent } from 'react'; import STransition from '@components/Base/STransition'; import SIcon from '@components/SIcon'; import "./style.less"; interface State { visible: boolean; animation: string; } class Page extends React.Component<{}, State> { constructor(props: {}) { super(props); this.state = { visible: false, animation: 'fade' }; this.handleClick1 = this.handleClick1.bind(this); this.handleClick2 = this.handleClick2.bind(this); } render() { const { visible, animation } = this.state; return (