mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +08:00
update some demo
This commit is contained in:
parent
43d8c6ad37
commit
c2e91d3b22
@ -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';
|
||||
|
@ -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"
|
||||
|
@ -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 (
|
||||
|
Loading…
Reference in New Issue
Block a user