mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-23 18:50:06 +08:00
1 line
8.1 KiB
JavaScript
1 line
8.1 KiB
JavaScript
(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["9662d70e"],{"9662d70e":function(a,e,d){"use strict";d.d(e,"__esModule",{value:!0}),d.d(e,"texts",{enumerable:!0,get:function(){return I;}}),d("a83dc21c");let I=[{value:"\u7528\u4E8E\u5728\u8F93\u5165\u4E2D\u63D0\u53CA\u67D0\u4EBA\u6216\u67D0\u4E8B\uFF0C\u5E38\u7528\u4E8E\u53D1\u5E03\u3001\u804A\u5929\u6216\u8BC4\u8BBA\u529F\u80FD\u3002",paraId:0,tocIndex:0},{value:"\u5728 5.1.0 \u7248\u672C\u540E\uFF0C\u6211\u4EEC\u63D0\u4F9B\u4E86 ",paraId:1},{value:"<Mentions options={[...]} />",paraId:1},{value:" \u7684\u7B80\u5199\u65B9\u5F0F\uFF0C\u6709\u66F4\u597D\u7684\u6027\u80FD\u548C\u66F4\u65B9\u4FBF\u7684\u6570\u636E\u7EC4\u7EC7\u65B9\u5F0F\uFF0C\u5F00\u53D1\u8005\u4E0D\u518D\u9700\u8981\u81EA\u884C\u62FC\u63A5 JSX\u3002\n\u540C\u65F6\u6211\u4EEC\u5E9F\u5F03\u4E86\u539F\u5148\u7684\u5199\u6CD5\uFF0C\u4F60\u8FD8\u662F\u53EF\u4EE5\u5728 5.x \u7EE7\u7EED\u4F7F\u7528\uFF0C\u4F46\u4F1A\u5728\u63A7\u5236\u53F0\u770B\u5230\u8B66\u544A\uFF0C\u5E76\u4F1A\u5728 6.0 \u540E\u79FB\u9664\u3002",paraId:1},{value:"// >=5.1.0 \u53EF\u7528\uFF0C\u63A8\u8350\u7684\u5199\u6CD5 \u2705\nconst options = [{ value: 'sample', label: 'sample' }];\nreturn <Mentions options={options} />;\n\n// <5.1.0 \u53EF\u7528\uFF0C>=5.1.0 \u65F6\u4E0D\u63A8\u8350 \u{1F645}\u{1F3FB}\u200D\u2640\uFE0F\nreturn (\n <Mentions onChange={onChange}>\n <Mentions.Option value=\"sample\">Sample</Mentions.Option>\n </Mentions>\n);\n",paraId:2},{value:"\u901A\u7528\u5C5E\u6027\u53C2\u8003\uFF1A",paraId:3,tocIndex:15},{value:"\u901A\u7528\u5C5E\u6027",paraId:4,tocIndex:15},{value:"\u53C2\u6570",paraId:5,tocIndex:16},{value:"\u8BF4\u660E",paraId:5,tocIndex:16},{value:"\u7C7B\u578B",paraId:5,tocIndex:16},{value:"\u9ED8\u8BA4\u503C",paraId:5,tocIndex:16},{value:"\u7248\u672C",paraId:5,tocIndex:16},{value:"allowClear",paraId:5,tocIndex:16},{value:"\u53EF\u4EE5\u70B9\u51FB\u6E05\u9664\u56FE\u6807\u5220\u9664\u5185\u5BB9",paraId:5,tocIndex:16},{value:"boolean | { clearIcon?: ReactNode }",paraId:5,tocIndex:16},{value:"false",paraId:5,tocIndex:16},{value:"5.13.0",paraId:5,tocIndex:16},{value:"autoFocus",paraId:5,tocIndex:16},{value:"\u81EA\u52A8\u83B7\u5F97\u7126\u70B9",paraId:5,tocIndex:16},{value:"boolean",paraId:5,tocIndex:16},{value:"false",paraId:5,tocIndex:16},{value:"autoSize",paraId:5,tocIndex:16},{value:"\u81EA\u9002\u5E94\u5185\u5BB9\u9AD8\u5EA6\uFF0C\u53EF\u8BBE\u7F6E\u4E3A true | false \u6216\u5BF9\u8C61\uFF1A{ minRows: 2, maxRows: 6 }",paraId:5,tocIndex:16},{value:"boolean | object",paraId:5,tocIndex:16},{value:"false",paraId:5,tocIndex:16},{value:"defaultValue",paraId:5,tocIndex:16},{value:"\u9ED8\u8BA4\u503C",paraId:5,tocIndex:16},{value:"string",paraId:5,tocIndex:16},{value:"-",paraId:5,tocIndex:16},{value:"filterOption",paraId:5,tocIndex:16},{value:"\u81EA\u5B9A\u4E49\u8FC7\u6EE4\u903B\u8F91",paraId:5,tocIndex:16},{value:"false | (input: string, option: OptionProps) => boolean",paraId:5,tocIndex:16},{value:"-",paraId:5,tocIndex:16},{value:"getPopupContainer",paraId:5,tocIndex:16},{value:"\u6307\u5B9A\u5EFA\u8BAE\u6846\u6302\u8F7D\u7684 HTML \u8282\u70B9",paraId:5,tocIndex:16},{value:"() => HTMLElement",paraId:5,tocIndex:16},{value:"-",paraId:5,tocIndex:16},{value:"notFoundContent",paraId:5,tocIndex:16},{value:"\u5F53\u4E0B\u62C9\u5217\u8868\u4E3A\u7A7A\u65F6\u663E\u793A\u7684\u5185\u5BB9",paraId:5,tocIndex:16},{value:"ReactNode",paraId:5,tocIndex:16},{value:"Not Found",paraId:5,tocIndex:16},{value:"placement",paraId:5,tocIndex:16},{value:"\u5F39\u51FA\u5C42\u5C55\u793A\u4F4D\u7F6E",paraId:5,tocIndex:16},{value:"top",paraId:5,tocIndex:16},{value:" | ",paraId:5,tocIndex:16},{value:"bottom",paraId:5,tocIndex:16},{value:"bottom",paraId:5,tocIndex:16},{value:"prefix",paraId:5,tocIndex:16},{value:"\u8BBE\u7F6E\u89E6\u53D1\u5173\u952E\u5B57",paraId:5,tocIndex:16},{value:"string | string[]",paraId:5,tocIndex:16},{value:"@",paraId:5,tocIndex:16},{value:"split",paraId:5,tocIndex:16},{value:"\u8BBE\u7F6E\u9009\u4E2D\u9879\u524D\u540E\u5206\u9694\u7B26",paraId:5,tocIndex:16},{value:"string",paraId:5,tocIndex:16},{value:" ",paraId:5,tocIndex:16},{value:"status",paraId:5,tocIndex:16},{value:"\u8BBE\u7F6E\u6821\u9A8C\u72B6\u6001",paraId:5,tocIndex:16},{value:"'error' | 'warning'",paraId:5,tocIndex:16},{value:"-",paraId:5,tocIndex:16},{value:"4.19.0",paraId:5,tocIndex:16},{value:"validateSearch",paraId:5,tocIndex:16},{value:"\u81EA\u5B9A\u4E49\u89E6\u53D1\u9A8C\u8BC1\u903B\u8F91",paraId:5,tocIndex:16},{value:"(text: string, props: MentionsProps) => void",paraId:5,tocIndex:16},{value:"-",paraId:5,tocIndex:16},{value:"value",paraId:5,tocIndex:16},{value:"\u8BBE\u7F6E\u503C",paraId:5,tocIndex:16},{value:"string",paraId:5,tocIndex:16},{value:"-",paraId:5,tocIndex:16},{value:"variant",paraId:5,tocIndex:16},{value:"\u5F62\u6001\u53D8\u4F53",paraId:5,tocIndex:16},{value:"outlined",paraId:5,tocIndex:16},{value:" | ",paraId:5,tocIndex:16},{value:"borderless",paraId:5,tocIndex:16},{value:" | ",paraId:5,tocIndex:16},{value:"filled",paraId:5,tocIndex:16},{value:"outlined",paraId:5,tocIndex:16},{value:"5.13.0",paraId:5,tocIndex:16},{value:"onBlur",paraId:5,tocIndex:16},{value:"\u5931\u53BB\u7126\u70B9\u65F6\u89E6\u53D1",paraId:5,tocIndex:16},{value:"() => void",paraId:5,tocIndex:16},{value:"-",paraId:5,tocIndex:16},{value:"onChange",paraId:5,tocIndex:16},{value:"\u503C\u6539\u53D8\u65F6\u89E6\u53D1",paraId:5,tocIndex:16},{value:"(text: string) => void",paraId:5,tocIndex:16},{value:"-",paraId:5,tocIndex:16},{value:"onClear",paraId:5,tocIndex:16},{value:"\u6309\u4E0B\u6E05\u9664\u6309\u94AE\u7684\u56DE\u8C03",paraId:5,tocIndex:16},{value:"() => void",paraId:5,tocIndex:16},{value:"-",paraId:5,tocIndex:16},{value:"5.20.0",paraId:5,tocIndex:16},{value:"onFocus",paraId:5,tocIndex:16},{value:"\u83B7\u5F97\u7126\u70B9\u65F6\u89E6\u53D1",paraId:5,tocIndex:16},{value:"() => void",paraId:5,tocIndex:16},{value:"-",paraId:5,tocIndex:16},{value:"onResize",paraId:5,tocIndex:16},{value:"resize \u56DE\u8C03",paraId:5,tocIndex:16},{value:"function({ width, height })",paraId:5,tocIndex:16},{value:"-",paraId:5,tocIndex:16},{value:"onSearch",paraId:5,tocIndex:16},{value:"\u641C\u7D22\u65F6\u89E6\u53D1",paraId:5,tocIndex:16},{value:"(text: string, prefix: string) => void",paraId:5,tocIndex:16},{value:"-",paraId:5,tocIndex:16},{value:"onSelect",paraId:5,tocIndex:16},{value:"\u9009\u62E9\u9009\u9879\u65F6\u89E6\u53D1",paraId:5,tocIndex:16},{value:"(option: OptionProps, prefix: string) => void",paraId:5,tocIndex:16},{value:"-",paraId:5,tocIndex:16},{value:"options",paraId:5,tocIndex:16},{value:"\u9009\u9879\u914D\u7F6E",paraId:5,tocIndex:16},{value:"Options",paraId:6,tocIndex:16},{value:"[]",paraId:5,tocIndex:16},{value:"5.1.0",paraId:5,tocIndex:16},{value:"\u540D\u79F0",paraId:7,tocIndex:17},{value:"\u63CF\u8FF0",paraId:7,tocIndex:17},{value:"blur()",paraId:7,tocIndex:17},{value:"\u79FB\u9664\u7126\u70B9",paraId:7,tocIndex:17},{value:"focus()",paraId:7,tocIndex:17},{value:"\u83B7\u53D6\u7126\u70B9",paraId:7,tocIndex:17},{value:"\u53C2\u6570",paraId:8,tocIndex:18},{value:"\u8BF4\u660E",paraId:8,tocIndex:18},{value:"\u7C7B\u578B",paraId:8,tocIndex:18},{value:"\u9ED8\u8BA4\u503C",paraId:8,tocIndex:18},{value:"value",paraId:8,tocIndex:18},{value:"\u9009\u62E9\u65F6\u586B\u5145\u7684\u503C",paraId:8,tocIndex:18},{value:"string",paraId:8,tocIndex:18},{value:"-",paraId:8,tocIndex:18},{value:"label",paraId:8,tocIndex:18},{value:"\u9009\u9879\u7684\u6807\u9898",paraId:8,tocIndex:18},{value:"React.ReactNode",paraId:8,tocIndex:18},{value:"-",paraId:8,tocIndex:18},{value:"key",paraId:8,tocIndex:18},{value:"\u9009\u9879\u7684 key \u503C",paraId:8,tocIndex:18},{value:"string",paraId:8,tocIndex:18},{value:"-",paraId:8,tocIndex:18},{value:"disabled",paraId:8,tocIndex:18},{value:"\u662F\u5426\u53EF\u9009",paraId:8,tocIndex:18},{value:"boolean",paraId:8,tocIndex:18},{value:"-",paraId:8,tocIndex:18},{value:"className",paraId:8,tocIndex:18},{value:"css \u7C7B\u540D",paraId:8,tocIndex:18},{value:"string",paraId:8,tocIndex:18},{value:"-",paraId:8,tocIndex:18},{value:"style",paraId:8,tocIndex:18},{value:"\u9009\u9879\u6837\u5F0F",paraId:8,tocIndex:18},{value:"React.CSSProperties",paraId:8,tocIndex:18},{value:"-",paraId:8,tocIndex:18}];}}]); |