From cde4c1a749174a7043e635bfb98838bcd05b58a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E4=B9=90?= Date: Wed, 8 Apr 2020 22:59:22 +0800 Subject: [PATCH] docs: Update the content of Getting Started page (#23053) * Update getting-started.en-US.md * Update getting-started.zh-CN.md --- docs/react/getting-started.en-US.md | 2 +- docs/react/getting-started.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/react/getting-started.en-US.md b/docs/react/getting-started.en-US.md index 7918aaff63..195e9a013e 100755 --- a/docs/react/getting-started.en-US.md +++ b/docs/react/getting-started.en-US.md @@ -68,7 +68,7 @@ ReactDOM.render(, document.getElementById('root')); ### 3. Explore more components -You can look up components in the side menu like the [Alert](/components/alert) component. Plenty of examples are provided in the component pages and API documentation. +You can look up components in the side menu of the Components page like the [Alert](/components/alert) component. Plenty of examples are provided in the component pages and API documentation. Click the "Open in Editor" icon in the first example to open an editor with source code to use out-of-the-box. Now you can import the `Alert` component into the codesandbox: diff --git a/docs/react/getting-started.zh-CN.md b/docs/react/getting-started.zh-CN.md index a8d70f5988..963a5a5e57 100755 --- a/docs/react/getting-started.zh-CN.md +++ b/docs/react/getting-started.zh-CN.md @@ -71,7 +71,7 @@ ReactDOM.render(, document.getElementById('root')); ### 3. 探索更多组件用法 -你可以在左侧菜单查看组件列表,比如 [Alert](/components/alert-cn) 组件,组件文档中提供了各类演示,最下方有组件 API 文档可以查阅。在代码演示部分找到第一个例子,点击右下角的图标展开代码。 +你可以在组件页面的左侧菜单查看组件列表,比如 [Alert](/components/alert) 组件,组件文档中提供了各类演示,最下方有组件 API 文档可以查阅。在代码演示部分找到第一个例子,点击右下角的图标展开代码。 然后依照演示代码的写法,在之前的 codesandbox 里修改 `index.js`,首先在 `import` 内引入 Alert 组件: