From 8caec2554c3d1ef3d97cd315d25cdf4dda575945 Mon Sep 17 00:00:00 2001 From: Jerome Lin Date: Mon, 30 Mar 2020 14:01:16 +0800 Subject: [PATCH] docs: update demo --- components/message/demo.md | 8 ++++---- components/notification/demo.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/components/message/demo.md b/components/message/demo.md index c2e0ad88..3431c7f8 100644 --- a/components/message/demo.md +++ b/components/message/demo.md @@ -61,7 +61,7 @@ class Demo extends React.Component {
- +
); @@ -147,14 +147,14 @@ class Demo extends React.Component { showMessage = () => { Message.loading({ key, - content: 'This is the content of the message.', + content: 'loading...', }); setTimeout(() => { Message.success({ key, - content: 'This is the content of the message.', + content: 'success!', }); - }, 2500); + }, 3000); }; render() { diff --git a/components/notification/demo.md b/components/notification/demo.md index 755b2200..f9c051e4 100644 --- a/components/notification/demo.md +++ b/components/notification/demo.md @@ -79,7 +79,7 @@ class Demo extends React.Component {
- +
);