mirror of
https://github.com/wahyd4/ant-design.git
synced 2026-08-09 04:46:52 +10:00
Fix operations typo of Transfer, close #6401
This commit is contained in:
@@ -27,7 +27,7 @@ One or more elements can be selected from either column, one click on the proper
|
||||
| listStyle | A custom CSS style used for rendering the transfer columns. | object | |
|
||||
| className | A custom CSS class. | string | ['', ''] |
|
||||
| titles | A set of titles that are sorted from left to right. | string[] | - |
|
||||
| operations | A set of operations that are sorted from top to bottom. | string[] | [] |
|
||||
| operations | A set of operations that are sorted from bottom to top. | string[] | ['>', '<'] |
|
||||
| showSearch | If included, a search box is shown on each column. | boolean | false |
|
||||
| filterOption | A function to determine whether an item should show in search result list | (inputValue, option): boolean | |
|
||||
| searchPlaceholder | The hint text of the search box. | string | 'Search here' |
|
||||
|
||||
@@ -28,8 +28,8 @@ title: Transfer
|
||||
| onScroll | 选项列表滚动时的回调函数 | (direction, event): void | |
|
||||
| listStyle | 两个穿梭框的自定义样式 | object | |
|
||||
| className | 自定义类 | string | |
|
||||
| titles | 标题集合,顺序从左至右 | string[] | ['', ''] |
|
||||
| operations | 操作文案集合,顺序从上至下 | string[] | [] |
|
||||
| titles | 标题集合,顺序从左至右 | string[] | ['', ''] |
|
||||
| operations | 操作文案集合,顺序从下至上 | string[] | ['>', '<'] |
|
||||
| showSearch | 是否显示搜索框 | boolean | false |
|
||||
| filterOption | 接收 `inputValue` `option` 两个参数,当 `option` 符合筛选条件时,应返回 `true`,反之则返回 `false`。| (inputValue, option): boolean | |
|
||||
| searchPlaceholder | 搜索框的默认值 | string | '请输入搜索内容' |
|
||||
|
||||
Reference in New Issue
Block a user