mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 05:05:48 +08:00
docs: Update the content of Getting Started page (#23053)
* Update getting-started.en-US.md * Update getting-started.zh-CN.md
This commit is contained in:
parent
28c4f7f137
commit
cde4c1a749
@ -68,7 +68,7 @@ ReactDOM.render(<App />, 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:
|
||||
|
||||
|
@ -71,7 +71,7 @@ ReactDOM.render(<App />, document.getElementById('root'));
|
||||
|
||||
### 3. 探索更多组件用法
|
||||
|
||||
你可以在左侧菜单查看组件列表,比如 [Alert](/components/alert-cn) 组件,组件文档中提供了各类演示,最下方有组件 API 文档可以查阅。在代码演示部分找到第一个例子,点击右下角的图标展开代码。
|
||||
你可以在组件页面的左侧菜单查看组件列表,比如 [Alert](/components/alert) 组件,组件文档中提供了各类演示,最下方有组件 API 文档可以查阅。在代码演示部分找到第一个例子,点击右下角的图标展开代码。
|
||||
|
||||
然后依照演示代码的写法,在之前的 codesandbox 里修改 `index.js`,首先在 `import` 内引入 Alert 组件:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user