update input doc

This commit is contained in:
afc163 2017-01-09 22:03:10 +08:00
parent a47c200f7c
commit 01859fc581
2 changed files with 5 additions and 0 deletions

View File

@ -34,6 +34,9 @@ Keyboard and mouse can be used for providing or changing data.
> When `Input` is used in a `Form.Item` context, if the `Form.Item` has the `id` and `options` props defined
then `value`, `defaultValue`, and `id` props are automatically set.
The rest props fo Input is exactly same as original [input](https://facebook.github.io/react/docs/events.html#supported-events).
#### Input.Search
`Added in 2.5.0`

View File

@ -33,6 +33,8 @@ title: Input
> 如果 `Input``Form.Item` 内,并且 `Form.Item` 设置了 `id``options` 属性,则 `value` `defaultValue``id` 属性会被自动设置。
Input 的其他属性和 React 自带的 [input](https://facebook.github.io/react/docs/events.html#supported-events) 一致。
#### Input.Search
`Added in 2.5.0`