mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 07:56:28 +08:00
feat: upgrade rc-mentions (#18298)
* upgrade rc-mentions * update docs for mentions component * update docs
This commit is contained in:
parent
92b36c08da
commit
c7e11a0eac
@ -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
|
||||
|
||||
|
@ -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 方法
|
||||
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user