Skip to content

Commit

Permalink
docs: update docs details
Browse files Browse the repository at this point in the history
  • Loading branch information
benjycui committed Sep 21, 2016
1 parent 4139dc3 commit 3f67fd3
Show file tree
Hide file tree
Showing 86 changed files with 171 additions and 177 deletions.
2 changes: 1 addition & 1 deletion components/affix/index.en-US.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
category: Components
type: Other
english: Affix
title: Affix
---

Make an element sticky to viewport.
Expand Down
4 changes: 2 additions & 2 deletions components/affix/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
category: Components
chinese: 固钉
subtitle: 固钉
type: Other
english: Affix
title: Affix
---

将页面元素钉在可视范围。
Expand Down
2 changes: 1 addition & 1 deletion components/alert/index.en-US.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
category: Components
type: Views
english: Alert
title: Alert
---

Alert component for feedback.
Expand Down
4 changes: 2 additions & 2 deletions components/alert/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
category: Components
chinese: 警告提示
subtitle: 警告提示
type: Views
english: Alert
title: Alert
---

警告提示,展现需要关注的信息。
Expand Down
6 changes: 3 additions & 3 deletions components/auto-complete/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
category: Components
chinese: 自动完成
subtitle: 自动完成
type: Form Controls
cols: 1
english: AutoComplete
title: AutoComplete
---

输入框自动完成功能。
Expand All @@ -27,4 +27,4 @@ const dataSource = ['12345', '23456', '34567'];
| defaultValue | 指定默认选中的条目 | String/Array<String>/{key: String, label: React.Node}/Array<{key, label}> ||
| allowClear | 支持清除, 单选模式有效 | boolean | false |
| onChange | 选中 option,或 input 的 value 变化(combobox 模式下)时,调用此函数 | function(value) ||
| disabled | 是否禁用 | boolean | false |
| disabled | 是否禁用 | boolean | false |
4 changes: 2 additions & 2 deletions components/back-top/demo/basic.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
order: 0
title:
title:
zh-CN: 基本
en-US: Basic
---
Expand All @@ -19,7 +19,7 @@ import { BackTop } from 'antd';
ReactDOM.render(
<div>
<BackTop />
Scroll down to see the bottom right blue button.
Scroll down to see the bottom right gray button.
</div>
, mountNode);
````
4 changes: 2 additions & 2 deletions components/back-top/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
category: Components
type: Other
chinese: 回到顶部
english: BackTop
subtitle: 回到顶部
title: BackTop
---

返回页面顶部的操作按钮。
Expand Down
2 changes: 1 addition & 1 deletion components/badge/index.en-US.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
category: Components
type: Views
english: Badge
title: Badge
---

Small numerical value or status descriptors for UI elements.
Expand Down
4 changes: 2 additions & 2 deletions components/badge/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
category: Components
chinese: 徽标数
subtitle: 徽标数
type: Views
english: Badge
title: Badge
---

图标右上角的圆形徽标数字。
Expand Down
4 changes: 2 additions & 2 deletions components/breadcrumb/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
category: Components
chinese: 面包屑
subtitle: 面包屑
type: Navigation
english: Breadcrumb
title: Breadcrumb
---

显示当前页面在系统层级结构中的位置,并能向上返回。
Expand Down
4 changes: 2 additions & 2 deletions components/calendar/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
category: Components
type: Views
chinese: 日历
subtitle: 日历
cols: 1
english: Calendar
title: Calendar
---

按照日历形式展示数据的容器。
Expand Down
4 changes: 2 additions & 2 deletions components/checkbox/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
category: Components
chinese: 多选框
subtitle: 多选框
type: Form Controls
english: Checkbox
title: Checkbox
---

多选框。
Expand Down
2 changes: 1 addition & 1 deletion components/dropdown/index.en-US.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
category: Components
type: Views
english: Dropdown
title: Dropdown
---

A dropdown list.
Expand Down
4 changes: 2 additions & 2 deletions components/dropdown/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
category: Components
chinese: 下拉菜单
subtitle: 下拉菜单
type: Views
english: Dropdown
title: Dropdown
---

向下弹出的列表。
Expand Down
2 changes: 1 addition & 1 deletion components/form/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
category: Components
type: Form Controls
cols: 1
english: Form
title: Form
---

Forms are used to collect, validate, and submit the user input. They contain one or more form items.
Expand Down
4 changes: 2 additions & 2 deletions components/form/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
category: Components
chinese: 表单
subtitle: 表单
type: Form Controls
cols: 1
english: Form
title: Form
---

具有数据收集、校验和提交功能的表单,包含复选框、单选框、输入框、下拉选择框等元素。
Expand Down
4 changes: 2 additions & 2 deletions components/icon/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
category: Components
chinese: 图标
subtitle: 图标
type: Basic
english: Icon
title: Icon
toc: false
---

Expand Down
4 changes: 2 additions & 2 deletions components/input-number/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
category: Components
chinese: 数字输入框
subtitle: 数字输入框
type: Form Controls
english: InputNumber
title: InputNumber
---

通过鼠标或键盘,输入范围内的数值。
Expand Down
4 changes: 2 additions & 2 deletions components/input/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
category: Components
chinese: 输入框
subtitle: 输入框
type: Form Controls
english: Input
title: Input
---

通过鼠标或键盘输入内容,是最基础的表单域的包装。
Expand Down
2 changes: 1 addition & 1 deletion components/layout/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
category: Components
type: Basic
cols: 1
english: Layout
title: Layout
---

24 Grids System。
Expand Down
4 changes: 2 additions & 2 deletions components/layout/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
category: Components
chinese: 栅格
subtitle: 栅格
type: Basic
cols: 1
english: Layout
title: Layout
---

24 栅格系统。
Expand Down
4 changes: 2 additions & 2 deletions components/locale-provider/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
category: Components
chinese: 国际化
subtitle: 国际化
cols: 1
type: Other
english: LocaleProvider
title: LocaleProvider
---

为组件内建文案提供统一的国际化支持。
Expand Down
4 changes: 2 additions & 2 deletions components/mention/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
category: Components
chinese: 提及
subtitle: 提及
cols: 1
type: Views
english: Mention
title: Mention
---

提及组件。
Expand Down
2 changes: 1 addition & 1 deletion components/message/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
category: Components
type: Views
noinstant: true
english: Message
title: Message
---

Display global messages as feedbacks to user operations.
Expand Down
4 changes: 2 additions & 2 deletions components/message/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
category: Components
chinese: 全局提示
subtitle: 全局提示
type: Views
noinstant: true
english: Message
title: Message
---

全局展示操作反馈信息。
Expand Down
2 changes: 1 addition & 1 deletion components/modal/index.en-US.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
type: Views
category: Components
english: Modal
title: Modal
---

Modal dialogs.
Expand Down
4 changes: 2 additions & 2 deletions components/modal/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
type: Views
category: Components
chinese: 对话框
english: Modal
subtitle: 对话框
title: Modal
---

模态对话框。
Expand Down
4 changes: 2 additions & 2 deletions components/pagination/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
category: Components
chinese: 分页
subtitle: 分页
type: Navigation
english: Pagination
title: Pagination
---

采用分页的形式分隔长列表,每次只加载一个页面。
Expand Down
4 changes: 2 additions & 2 deletions components/popconfirm/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
category: Components
chinese: 气泡确认框
subtitle: 气泡确认框
type: Views
english: Popconfirm
title: Popconfirm
---

点击元素,弹出气泡式的确认框。
Expand Down
2 changes: 1 addition & 1 deletion components/popover/index.en-US.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
category: Components
type: Views
english: Popover
title: Popover
---

The floating card popped by clicking or hovering.
Expand Down
4 changes: 2 additions & 2 deletions components/popover/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
category: Components
chinese: 气泡卡片
subtitle: 气泡卡片
type: Views
english: Popover
title: Popover
---

点击/鼠标移入元素,弹出气泡式的卡片浮层。
Expand Down
4 changes: 2 additions & 2 deletions components/progress/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
category: Components
chinese: 进度条
subtitle: 进度条
type: Views
english: Progress
title: Progress
---

展示操作的当前进度。
Expand Down
4 changes: 2 additions & 2 deletions components/select/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
category: Components
chinese: 选择器
subtitle: 选择器
type: Form Controls
english: Select
title: Select
---

类似 Select2 的选择器。
Expand Down
4 changes: 2 additions & 2 deletions components/slider/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
category: Components
chinese: 滑动输入条
subtitle: 滑动输入条
type: Form Controls
english: Slider
title: Slider
---

滑动型输入器,展示当前值和可选范围。
Expand Down
4 changes: 2 additions & 2 deletions components/steps/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
category: Components
chinese: 步骤条
subtitle: 步骤条
type: Navigation
cols: 1
english: Steps
title: Steps
---

引导用户按照流程完成任务的导航条。
Expand Down
4 changes: 2 additions & 2 deletions components/switch/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
category: Components
chinese: 开关
subtitle: 开关
type: Form Controls
english: Switch
title: Switch
---

开关选择器。
Expand Down
Loading

0 comments on commit 3f67fd3

Please sign in to comment.