2019-07-04 15:14:13 +08:00
|
|
|
---
|
|
|
|
order: 0
|
|
|
|
title:
|
|
|
|
zh-CN: Success
|
|
|
|
en-US: Success
|
|
|
|
---
|
|
|
|
|
|
|
|
## zh-CN
|
|
|
|
|
|
|
|
成功的结果。
|
|
|
|
|
|
|
|
## en-US
|
|
|
|
|
|
|
|
Show successful results.
|
|
|
|
|
2022-05-19 09:46:26 +08:00
|
|
|
```tsx
|
2022-05-21 22:14:15 +08:00
|
|
|
import { Button, Result } from 'antd';
|
2022-05-19 09:46:26 +08:00
|
|
|
import React from 'react';
|
2019-07-04 15:14:13 +08:00
|
|
|
|
2022-05-19 09:46:26 +08:00
|
|
|
const App: React.FC = () => (
|
2019-07-04 15:14:13 +08:00
|
|
|
<Result
|
|
|
|
status="success"
|
|
|
|
title="Successfully Purchased Cloud Server ECS!"
|
|
|
|
subTitle="Order number: 2017182818828182881 Cloud server configuration takes 1-5 minutes, please wait."
|
|
|
|
extra={[
|
|
|
|
<Button type="primary" key="console">
|
|
|
|
Go Console
|
|
|
|
</Button>,
|
|
|
|
<Button key="buy">Buy Again</Button>,
|
|
|
|
]}
|
2022-04-03 23:27:45 +08:00
|
|
|
/>
|
2019-07-04 15:14:13 +08:00
|
|
|
);
|
2022-05-19 09:46:26 +08:00
|
|
|
|
|
|
|
export default App;
|
2019-07-04 15:14:13 +08:00
|
|
|
```
|