update some demo

This commit is contained in:
afc163 2017-10-17 21:03:23 +08:00
parent 43d8c6ad37
commit c2e91d3b22
3 changed files with 4 additions and 2 deletions

View File

@ -7,11 +7,11 @@ title:
## zh-CN
自定义时长 `10s`,默认时长为 `1.5s`。
自定义时长 `10s`,默认时长为 `3s`。
## en-US
Customize message display duration from default `1.5s` to `10s`.
Customize message display duration from default `3s` to `10s`.
````jsx
import { message, Button } from 'antd';

View File

@ -26,6 +26,7 @@ exports[`renders ./components/spin/demo/delayAndDebounce.md correctly 1`] = `
<div
class="ant-alert ant-alert-info ant-alert-with-description ant-alert-no-icon"
data-show="true"
style="margin-bottom:16px;"
>
<span
class="ant-alert-message"

View File

@ -27,6 +27,7 @@ class Card extends React.Component {
message="Alert message title"
description="Further details about the context of this alert."
type="info"
style={{ marginBottom: 16 }}
/>
);
return (