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

30 lines
426 B
Markdown

---
order: 2
title:
zh-CN: 403
en-US: 403
---
## zh-CN
403 页面,配合自定义操作。
## en-US
403 page with custom operations.
````jsx
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);
````