File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ When you need to mention someone or something.
21
21
| defaultValue | Default value | string | |
22
22
| filterOption | Customize filter option logic | false \| (input: string, option: OptionProps) => boolean | |
23
23
| getPopupContainer | Set the mount HTML node for suggestions | () => HTMLElement | |
24
- | notFoundContent | Set mentions content when not match | ReactNode | 'Not Found' |
24
+ | notFoundContent | Set mentions content when not match | string \| slot | 'Not Found' |
25
25
| placement | Set popup placement | ` top ` \| ` bottom ` | ` bottom ` |
26
26
| prefix | Set trigger prefix keyword | string \| string\[ ] | '@' |
27
27
| split | Set split string before and after selected mention | string | ' ' |
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/jPE-itMFM/Mentions.svg
22
22
| defaultValue | 默认值 | string | |
23
23
| filterOption | 自定义过滤逻辑 | false \| (input: string, option: OptionProps) => boolean | |
24
24
| getPopupContainer | 指定建议框挂载的 HTML 节点 | () => HTMLElement | |
25
- | notFoundContent | 当下拉列表为空时显示的内容 | ReactNode | 'Not Found' |
25
+ | notFoundContent | 当下拉列表为空时显示的内容 | string \| slot | 'Not Found' |
26
26
| placement | 弹出层展示位置 | ` top ` \| ` bottom ` | ` bottom ` |
27
27
| prefix | 设置触发关键字 | string \| string\[ ] | '@' |
28
28
| split | 设置选中项前后分隔符 | string | ' ' |
You can’t perform that action at this time.
0 commit comments