mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-16 09:39:10 +08:00
6776bb8916
* docs: update demo * chore: add script * test: fix demo test * docs: convert demos * chore: move script * test: remove react-dom import * chore: update deps * docs: update riddle js * test: fix image test * docs: fix riddle demo
29 lines
418 B
Markdown
29 lines
418 B
Markdown
---
|
|
order: 4
|
|
title:
|
|
zh-CN: 自定义描述文案
|
|
en-US: Customized description
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
自定义描述文案。
|
|
|
|
## en-US
|
|
|
|
Customized description content.
|
|
|
|
```jsx
|
|
import { Spin, Alert } from 'antd';
|
|
|
|
export default () => (
|
|
<Spin tip="Loading...">
|
|
<Alert
|
|
message="Alert message title"
|
|
description="Further details about the context of this alert."
|
|
type="info"
|
|
/>
|
|
</Spin>
|
|
);
|
|
```
|