Typo fixes.

pull/3874/head
Bruce Mitchener 8 years ago
parent 4f7eff39fd
commit 36508ffabd

@ -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) | - |

@ -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 | - |

@ -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

@ -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 |

@ -51,4 +51,4 @@ When need to mention someone or something.
| Property | Description | Type | Default |
|----------|---------------|----------|--------------|
| value | value of suggestionthe value will insert into input filed while selected | string | "" |
| children | suggestion content | Objet | {} |
| children | suggestion content | Object | {} |

@ -51,4 +51,4 @@ title: Mention
| 参数 | 说明 | 类型 | 默认值 |
|----------|---------------|----------|--------------|
| value | 建议值,选择建议时,用此值插入到输入框中 | string | "" |
| children | 建议内容 | Objet | {} |
| children | 建议内容 | Object | {} |

@ -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 |

@ -8,7 +8,7 @@ Rate component.
## When To Use
- Show evalutate.
- Show evaluation.
- A quick rating operation on something.
## API

@ -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 |
|---------------|--------------------------|-----------------|--------------|

@ -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 treeNodeshighlightwhen 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 draggableIE>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}) | - |

@ -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

Loading…
Cancel
Save