Skip to content

Commit

Permalink
English translation for notFoundContent (#15453)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamKirkland authored and afc163 committed Mar 16, 2019
1 parent b40c0d3 commit 5d96ba6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/mention/index.en-US.md
Expand Up @@ -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> | '@' |
Expand Down
2 changes: 1 addition & 1 deletion components/mention/index.tsx
Expand Up @@ -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,
Expand Down

0 comments on commit 5d96ba6

Please sign in to comment.