ant-design/components/result/demo/info.md
MadCcc 6776bb8916
docs: demo support react18 (#34843)
* docs: update demo

* chore: add script

* test: fix demo test

* docs: convert demos

* chore: move script

* test: remove react-dom import

* chore: update deps

* docs: update riddle js

* test: fix image test

* docs: fix riddle demo
2022-04-03 23:27:45 +08:00

30 lines
356 B
Markdown

---
order: 1
title:
zh-CN: Info
en-US: Info
---
## zh-CN
展示处理结果。
## en-US
Show processing results.
```jsx
import { Result, Button } from 'antd';
export default () => (
<Result
title="Your operation has been executed"
extra={
<Button type="primary" key="console">
Go Console
</Button>
}
/>
);
```