ant-design/components/result/demo/warning.md
陈帅 1fc1710582
doc: split demos (#17415)
* split demos

close #17396

* snapshot updated

* split all demo

* fix lint error

* better code style

* change complex to error

* sort demos
2019-07-04 15:14:13 +08:00

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,
);
```