mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-16 01:29:11 +08:00
1fc1710582
* split demos close #17396 * snapshot updated * split all demo * fix lint error * better code style * change complex to error * sort demos
32 lines
408 B
Markdown
32 lines
408 B
Markdown
---
|
|
order: 2
|
|
title:
|
|
zh-CN: Warning
|
|
en-US: Warning
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
警告类型的结果。
|
|
|
|
## en-US
|
|
|
|
The result of the warning.
|
|
|
|
```jsx
|
|
import { Result, Button } from 'antd';
|
|
|
|
ReactDOM.render(
|
|
<Result
|
|
status="warning"
|
|
title="There are some problems with your operation."
|
|
extra={
|
|
<Button type="primary" key="console">
|
|
Go Console
|
|
</Button>
|
|
}
|
|
/>,
|
|
mountNode,
|
|
);
|
|
```
|