ant-design/components/result/demo/warning.md

31 lines
400 B
Markdown
Raw Normal View History

---
order: 2
title:
zh-CN: Warning
en-US: Warning
---
## zh-CN
警告类型的结果。
## en-US
The result of the warning.
```jsx
import { Result, Button } from 'antd';
export default () => (
<Result
status="warning"
title="There are some problems with your operation."
extra={
<Button type="primary" key="console">
Go Console
</Button>
}
/>
);
```