English translation for notFoundContent (#15453)

This commit is contained in:
Sam Kirkland 2019-03-16 01:27:23 -05:00 committed by 偏右
parent b40c0d3db3
commit 5d96ba6400
2 changed files with 2 additions and 2 deletions

View File

@ -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> | '@' |

View File

@ -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,