1
0
mirror of https://github.com/chillzhuang/Sword synced 2024-06-27 00:52:36 +08:00
Sword/src/components/Exception/demo/403.md
2019-02-13 17:16:39 +08:00

426 B

order title
2
zh-CN en-US
403 403

zh-CN

403 页面,配合自定义操作。

en-US

403 page with custom operations.

import Exception from 'ant-design-pro/lib/Exception';
import { Button } from 'antd';

const actions = (
  <div>
    <Button type="primary">Home</Button>
    <Button>Detail</Button>
  </div>
);
ReactDOM.render(
  <Exception type="403" actions={actions} />
, mountNode);