feat: upgrade rc-mentions (#18298)

* upgrade rc-mentions

* update docs for mentions component

* update docs
This commit is contained in:
Vijay Thirugnanam 2019-08-17 13:43:12 +05:30 committed by 偏右
parent 92b36c08da
commit c7e11a0eac
3 changed files with 3 additions and 1 deletions

View File

@ -38,6 +38,7 @@ When need to mention someone or something.
| onSearch | Trigger when prefix hit | (text: string, prefix: string) => void | - | 3.19.0 |
| onFocus | Trigger when mentions get focus | () => void | - | 3.19.0 |
| onBlur | Trigger when mentions lose focus | () => void | - | 3.19.0 |
| getPopupContainer | Set the mount HTML node for suggestions | () => HTMLElement | - | 3.22.0 |
### Mention methods

View File

@ -48,6 +48,7 @@ title: Mentions
| onSearch | 搜索时触发 | (text: string, prefix: string) => void | - | 3.19.0 |
| onFocus | 获得焦点时触发 | () => void | - | 3.19.0 |
| onBlur | 失去焦点时触发 | () => void | - | 3.19.0 |
| getPopupContainer | 指定建议框挂载的 HTML 节点 | () => HTMLElement | - | 3.22.0 |
### Mention 方法

View File

@ -69,7 +69,7 @@
"rc-editor-mention": "^1.1.13",
"rc-form": "^2.4.5",
"rc-input-number": "~4.4.5",
"rc-mentions": "~0.3.1",
"rc-mentions": "~0.4.0",
"rc-menu": "~7.4.23",
"rc-notification": "~3.3.1",
"rc-pagination": "~1.20.5",