From 36508ffabdf1a711ac433022e2d17452d3984944 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Wed, 16 Nov 2016 20:33:37 +0700 Subject: [PATCH] Typo fixes. --- components/calendar/index.en-US.md | 2 +- components/dropdown/index.en-US.md | 2 +- components/form/index.en-US.md | 2 +- components/grid/index.en-US.md | 4 ++-- components/mention/index.en-US.md | 2 +- components/mention/index.zh-CN.md | 2 +- components/modal/index.en-US.md | 2 +- components/rate/index.en-US.md | 2 +- components/table/index.en-US.md | 2 +- components/tree/index.en-US.md | 2 +- components/upload/index.en-US.md | 2 +- 11 files changed, 12 insertions(+), 12 deletions(-) diff --git a/components/calendar/index.en-US.md b/components/calendar/index.en-US.md index 3954d32eb6..609d94693e 100644 --- a/components/calendar/index.en-US.md +++ b/components/calendar/index.en-US.md @@ -29,5 +29,5 @@ When data is in the form of date, such as schedule, timetable, prices calendar, | fullscreen | to set whether full-screen display | boolean | true | | dateCellRender | to set the way of renderer the date cell | function(date: moment): ReactNode | - | | monthCellRender | to set the way of renderer the month cell | function(date: moment): ReactNode | - | -| locale | set locale | Object | [defualt](https://github.com/ant-design/ant-design/issues/424) | +| locale | set locale | Object | [default](https://github.com/ant-design/ant-design/issues/424) | | onPanelChange| the callback when panel change | function(date: moment, mode: string) | - | diff --git a/components/dropdown/index.en-US.md b/components/dropdown/index.en-US.md index cd2c9f8143..3b56c4815b 100644 --- a/components/dropdown/index.en-US.md +++ b/components/dropdown/index.en-US.md @@ -33,7 +33,7 @@ You can get the menu list by `antd.Menu`, and set a callback function `onSelect` |--------------|----------------|----------|--------------| | type | type of the button, the same as [Button](/components/button) | String | 'default' | | onClick | a callback function, the same as [Button](/components/button), which will be executed when you click the button on the left | Function | - | -| trigger | the trigger mode which can excute the drop-down action | ['click'] or ['hover'] | ['hover'] | +| trigger | the trigger mode which can execute the drop-down action | ['click'] or ['hover'] | ['hover'] | | overlay | the dropdown menu | [Menu](/components/menu) | - | | visible | determine whether the dropdown menu is visible | Boolean | - | | onVisibleChange | a callback function takes an argument: `visible`, can be executed when the visible state is changing | Function | - | diff --git a/components/form/index.en-US.md b/components/form/index.en-US.md index 8cf1f640a3..c089b261ff 100644 --- a/components/form/index.en-US.md +++ b/components/form/index.en-US.md @@ -79,7 +79,7 @@ After wrapped by `getFieldDecorator`, `value`(or other property defined by `valu 1. You don't need to use `onChange` to collect data, but you still can listen to `onChange`(and so on) events. 2. You can not set value of form control via `value` `defaultValue` prop, and you should set default value with `initialValue` in `getFieldDecorator` instead. -3. You don't need to call `setState` manully, please use `this.props.form.setFieldsValue` to change value programmatically. +3. You don't need to call `setState` manually, please use `this.props.form.setFieldsValue` to change value programmatically. #### Special attention diff --git a/components/grid/index.en-US.md b/components/grid/index.en-US.md index 702b790f6a..0c5ecae6bb 100644 --- a/components/grid/index.en-US.md +++ b/components/grid/index.en-US.md @@ -64,7 +64,7 @@ We name the divided area as 'box'.We suggest that four boxes horizontal arrangem ## Outline -In the grid system, we define the frame outside the information area based on row and colum,to ensure that every area can steady arrangement. +In the grid system, we define the frame outside the information area based on row and column, to ensure that every area can steady arrangement. Following is a brief look at how it works: @@ -101,6 +101,6 @@ Ant Design layout component if it can not meet your needs, you can use the excel |------------|-----------------|--------------------|-------------| | span | raster occupying the number of cells,0 corresponds to `display: none` | number | none | | order | raster order, under `flex` effective layout mode | number | 0 | -| offset | the number of cells to the left of the grid spacing, no cell in grid spaceing | number | 0 | +| offset | the number of cells to the left of the grid spacing, no cell in grid spacing | number | 0 | | push | the number of cells that raster move to the right | number | 0 | | pull | the number of cells that raster move to the left | number | 0 | diff --git a/components/mention/index.en-US.md b/components/mention/index.en-US.md index 8969714000..0fa774c03e 100644 --- a/components/mention/index.en-US.md +++ b/components/mention/index.en-US.md @@ -51,4 +51,4 @@ When need to mention someone or something. | Property | Description | Type | Default | |----------|---------------|----------|--------------| | value | value of suggestion,the value will insert into input filed while selected | string | "" | -| children | suggestion content | Objet | {} | +| children | suggestion content | Object | {} | diff --git a/components/mention/index.zh-CN.md b/components/mention/index.zh-CN.md index 245c1025b9..46e97c26a1 100644 --- a/components/mention/index.zh-CN.md +++ b/components/mention/index.zh-CN.md @@ -51,4 +51,4 @@ title: Mention | 参数 | 说明 | 类型 | 默认值 | |----------|---------------|----------|--------------| | value | 建议值,选择建议时,用此值插入到输入框中 | string | "" | -| children | 建议内容 | Objet | {} | +| children | 建议内容 | Object | {} | diff --git a/components/modal/index.en-US.md b/components/modal/index.en-US.md index 7b7f882d52..829345b33e 100644 --- a/components/modal/index.en-US.md +++ b/components/modal/index.en-US.md @@ -42,7 +42,7 @@ There are five ways to display the information based on the content's nature: - `Modal.warning` - `Modal.confirm` -The item listd above are all functions, expecting a settings object as parameter. +The items listed above are all functions, expecting a settings object as parameter. The properties of the object are follows: | Property | Description | Type | Default | diff --git a/components/rate/index.en-US.md b/components/rate/index.en-US.md index f98c186c14..8e65743450 100644 --- a/components/rate/index.en-US.md +++ b/components/rate/index.en-US.md @@ -8,7 +8,7 @@ Rate component. ## When To Use -- Show evalutate. +- Show evaluation. - A quick rating operation on something. ## API diff --git a/components/table/index.en-US.md b/components/table/index.en-US.md index 7d84d059d8..2dc35916d8 100644 --- a/components/table/index.en-US.md +++ b/components/table/index.en-US.md @@ -78,7 +78,7 @@ const columns = [{ ### Column -One of Property `columns` for descriping column. +One of Property `columns` for describing column. | Property | Description | Type | Default | |---------------|--------------------------|-----------------|--------------| diff --git a/components/tree/index.en-US.md b/components/tree/index.en-US.md index 9b632becb9..4a25b1ba8e 100644 --- a/components/tree/index.en-US.md +++ b/components/tree/index.en-US.md @@ -30,7 +30,7 @@ Directory, organization, biological classification, country, and etc. Almost thi |onSelect | The callback will be invoked when the user clicks a treeNode | function(selectedKeys, e:{selected: bool, selectedNodes, node, event}) | - | |filterTreeNode | Defines a function to filter treeNodes(highlight),when return true, corresponding treeNode will be highlight | function(node) | - | |loadData | load data asynchronously | function(node)| - | -|onRightClick | The call back will be invoked when the user right clicks a treeNoe | function({event,node}) | - | +|onRightClick | The call back will be invoked when the user right clicks a treeNode | function({event,node}) | - | |draggable | Specifies whether this Tree is draggable(IE>8) | bool | false | |onDragStart | Defines a function will be called when the onDragStart event occurs | function({event,node}) | - | |onDragEnter | Defines a function will be called when the onDragEnter event occurs | function({event,node,expandedKeys}) | - | diff --git a/components/upload/index.en-US.md b/components/upload/index.en-US.md index 02524de411..2a0657df23 100644 --- a/components/upload/index.en-US.md +++ b/components/upload/index.en-US.md @@ -69,7 +69,7 @@ When uploading state change, it returns: ## show download links -please set property `url` of property `fileList` to control content of link +Please set property `url` of property `fileList` to control content of link ## customRequest