mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
English translation for notFoundContent (#15453)
This commit is contained in:
parent
b40c0d3db3
commit
5d96ba6400
@ -38,7 +38,7 @@ When need to mention someone or something.
|
||||
| getSuggestionContainer | rendered to the root of the menu. Default rendered to the body dom. If gets any problem of the menu while scrolling. Try to make the root the dom scrolled, and make it position relative. | function | () => document.body |
|
||||
| loading | loading mode | boolean | false |
|
||||
| multiLines | multilines mode | boolean | false |
|
||||
| notFoundContent | suggestion when suggestions empty | string | '无匹配结果,轻敲空格完成输入' |
|
||||
| notFoundContent | suggestion when suggestions empty | string | 'No matches found' |
|
||||
| placeholder | placeholder of input | string | null |
|
||||
| placement | The position of the suggestion relative to the target, which can be one of `top` and `bottom` | string | 'bottom'. |
|
||||
| prefix | character which will trigger Mention to show mention list | string or Array<string> | '@' |
|
||||
|
@ -40,7 +40,7 @@ export interface MentionState {
|
||||
class Mention extends React.Component<MentionProps, MentionState> {
|
||||
static getMentions = getMentions;
|
||||
static defaultProps = {
|
||||
notFoundContent: '无匹配结果,轻敲空格完成输入',
|
||||
notFoundContent: 'No matches found',
|
||||
loading: false,
|
||||
multiLines: false,
|
||||
placement: 'bottom' as MentionPlacement,
|
||||
|
Loading…
Reference in New Issue
Block a user