RegisterResult.js 650 Bytes
Newer Older
1 2 3 4 5 6 7
import React from 'react';
import { Button } from 'antd';
import { Link } from 'dva/router';
import Result from '../../components/Result';

const actions = (
  <div>
ddcat1115's avatar
ddcat1115 committed
8 9
    <Button size="large" type="primary"><a href="">查看邮箱</a></Button>
    <Button size="large"><Link to="/">返回首页</Link></Button>
10 11 12 13
  </div>
);

export default () => (
ddcat1115's avatar
ddcat1115 committed
14 15 16 17 18 19 20
  <Result
    type="success"
    title="你的账户:AntDesign@example.com 注册成功"
    description="激活邮件已发送到你的邮箱中,邮件有效期为24小时。请及时登录邮箱,点击邮件中的链接激活帐户。"
    actions={actions}
    style={{ marginTop: 64 }}
  />
21
);