You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
408 B
32 lines
408 B
5 years ago
|
---
|
||
|
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,
|
||
|
);
|
||
|
```
|