mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 05:29:37 +08:00
31 lines
364 B
Markdown
31 lines
364 B
Markdown
|
---
|
||
|
order: 1
|
||
|
title:
|
||
|
zh-CN: Info
|
||
|
en-US: Info
|
||
|
---
|
||
|
|
||
|
## zh-CN
|
||
|
|
||
|
展示处理结果。
|
||
|
|
||
|
## en-US
|
||
|
|
||
|
Show processing results.
|
||
|
|
||
|
```jsx
|
||
|
import { Result, Button } from 'antd';
|
||
|
|
||
|
ReactDOM.render(
|
||
|
<Result
|
||
|
title="Your operation has been executed"
|
||
|
extra={
|
||
|
<Button type="primary" key="console">
|
||
|
Go Console
|
||
|
</Button>
|
||
|
}
|
||
|
/>,
|
||
|
mountNode,
|
||
|
);
|
||
|
```
|