This commit is contained in:
afc163
2017-06-13 15:28:13 +08:00
parent 96b2f71f2d
commit 340f90bafe
414 changed files with 2056 additions and 2031 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+11 -11
View File
File diff suppressed because one or more lines are too long
+9 -9
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
webpackJsonp([211,214],{800:function(t,n){t.exports={content:["section",["p","Make an element sticky to viewport."],["h2","When To Use"],["p","When user browses a long web page, some content need to stick to the viewport. This is common for menus and actions."],["p","Please note that Affix should not cover other content on the page, especially when the size of the viewport is small."]],meta:{category:"Components",type:"Navigation",title:"Affix",filename:"components/affix/index.en-US.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#When-To-Use",title:"When To Use"},"When To Use"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","offsetTop"],["td","Pixels to offset from top when calculating position of scroll"],["td","number"],["td","0"]],["tr",["td","offsetBottom"],["td","Pixels to offset from bottom when calculating position of scroll"],["td","number"],["td","-"]],["tr",["td","target"],["td","specifies the scrollable area dom node"],["td","() => HTMLElement"],["td","() => window"]],["tr",["td","onChange"],["td","Callback when affix state is changed"],["td","Function(affixed)"],["td","-"]]]],["p",["strong","Note:"]," Children of ",["code","Affix"]," can not be ",["code","position: absolute"],", but you can set ",["code","Affix"]," as ",["code","position: absolute"],":"],["pre",{lang:"jsx",highlighted:'<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Affix</span> <span class="token attr-name">style</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token punctuation">{</span> position<span class="token punctuation">:</span> <span class="token string">\'absolute\'</span><span class="token punctuation">,</span> top<span class="token punctuation">:</span> y<span class="token punctuation">,</span> left<span class="token punctuation">:</span> x<span class="token punctuation">}</span><span class="token punctuation">}</span></span><span class="token punctuation">></span></span>\n <span class="token operator">...</span>\n<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>Affix</span><span class="token punctuation">></span></span>'},["code","<Affix style={{ position: 'absolute', top: y, left: x}}>\n ...\n</Affix>"]]]}}});
webpackJsonp([211,214],{802:function(t,n){t.exports={content:["section",["p","Make an element sticky to viewport."],["h2","When To Use"],["p","When user browses a long web page, some content need to stick to the viewport. This is common for menus and actions."],["p","Please note that Affix should not cover other content on the page, especially when the size of the viewport is small."]],meta:{category:"Components",type:"Navigation",title:"Affix",filename:"components/affix/index.en-US.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#When-To-Use",title:"When To Use"},"When To Use"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","offsetTop"],["td","Pixels to offset from top when calculating position of scroll"],["td","number"],["td","0"]],["tr",["td","offsetBottom"],["td","Pixels to offset from bottom when calculating position of scroll"],["td","number"],["td","-"]],["tr",["td","target"],["td","specifies the scrollable area dom node"],["td","() => HTMLElement"],["td","() => window"]],["tr",["td","onChange"],["td","Callback when affix state is changed"],["td","Function(affixed)"],["td","-"]]]],["p",["strong","Note:"]," Children of ",["code","Affix"]," can not be ",["code","position: absolute"],", but you can set ",["code","Affix"]," as ",["code","position: absolute"],":"],["pre",{lang:"jsx",highlighted:'<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Affix</span> <span class="token attr-name">style</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token punctuation">{</span> position<span class="token punctuation">:</span> <span class="token string">\'absolute\'</span><span class="token punctuation">,</span> top<span class="token punctuation">:</span> y<span class="token punctuation">,</span> left<span class="token punctuation">:</span> x<span class="token punctuation">}</span><span class="token punctuation">}</span></span><span class="token punctuation">></span></span>\n <span class="token operator">...</span>\n<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>Affix</span><span class="token punctuation">></span></span>'},["code","<Affix style={{ position: 'absolute', top: y, left: x}}>\n ...\n</Affix>"]]]}}});
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
webpackJsonp([210,214],{801:function(t,n){t.exports={content:["section",["p","\u5c06\u9875\u9762\u5143\u7d20\u9489\u5728\u53ef\u89c6\u8303\u56f4\u3002"],["h2","\u4f55\u65f6\u4f7f\u7528"],["p","\u5f53\u5185\u5bb9\u533a\u57df\u6bd4\u8f83\u957f\uff0c\u9700\u8981\u6eda\u52a8\u9875\u9762\u65f6\uff0c\u8fd9\u90e8\u5206\u5185\u5bb9\u5bf9\u5e94\u7684\u64cd\u4f5c\u6216\u8005\u5bfc\u822a\u9700\u8981\u5728\u6eda\u52a8\u8303\u56f4\u5185\u59cb\u7ec8\u5c55\u73b0\u3002\u5e38\u7528\u4e8e\u4fa7\u8fb9\u83dc\u5355\u548c\u6309\u94ae\u7ec4\u5408\u3002"],["p","\u9875\u9762\u53ef\u89c6\u8303\u56f4\u8fc7\u5c0f\u65f6\uff0c\u614e\u7528\u6b64\u529f\u80fd\u4ee5\u514d\u906e\u6321\u9875\u9762\u5185\u5bb9\u3002"]],meta:{category:"Components",subtitle:"\u56fa\u9489",type:"Navigation",title:"Affix",filename:"components/affix/index.zh-CN.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#\u4f55\u65f6\u4f7f\u7528",title:"\u4f55\u65f6\u4f7f\u7528"},"\u4f55\u65f6\u4f7f\u7528"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["table",["thead",["tr",["th","\u6210\u5458"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","offsetTop"],["td","\u8ddd\u79bb\u7a97\u53e3\u9876\u90e8\u8fbe\u5230\u6307\u5b9a\u504f\u79fb\u91cf\u540e\u89e6\u53d1"],["td","number"],["td"]],["tr",["td","offsetBottom"],["td","\u8ddd\u79bb\u7a97\u53e3\u5e95\u90e8\u8fbe\u5230\u6307\u5b9a\u504f\u79fb\u91cf\u540e\u89e6\u53d1"],["td","number"],["td"]],["tr",["td","target"],["td","\u8bbe\u7f6e ",["code","Affix"]," \u9700\u8981\u76d1\u542c\u5176\u6eda\u52a8\u4e8b\u4ef6\u7684\u5143\u7d20\uff0c\u503c\u4e3a\u4e00\u4e2a\u8fd4\u56de\u5bf9\u5e94 DOM \u5143\u7d20\u7684\u51fd\u6570"],["td","() => HTMLElement"],["td","() => window"]],["tr",["td","onChange"],["td","\u56fa\u5b9a\u72b6\u6001\u6539\u53d8\u65f6\u89e6\u53d1\u7684\u56de\u8c03\u51fd\u6570"],["td","Function(affixed)"],["td","\u65e0"]]]],["p",["strong","\u6ce8\u610f\uff1a"],["code","Affix"]," \u5185\u7684\u5143\u7d20\u4e0d\u8981\u4f7f\u7528\u7edd\u5bf9\u5b9a\u4f4d\uff0c\u5982\u9700\u8981\u7edd\u5bf9\u5b9a\u4f4d\u7684\u6548\u679c\uff0c\u53ef\u4ee5\u76f4\u63a5\u8bbe\u7f6e ",["code","Affix"]," \u4e3a\u7edd\u5bf9\u5b9a\u4f4d\uff1a"],["pre",{lang:"jsx",highlighted:'<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Affix</span> <span class="token attr-name">style</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token punctuation">{</span> position<span class="token punctuation">:</span> <span class="token string">\'absolute\'</span><span class="token punctuation">,</span> top<span class="token punctuation">:</span> y<span class="token punctuation">,</span> left<span class="token punctuation">:</span> x<span class="token punctuation">}</span><span class="token punctuation">}</span></span><span class="token punctuation">></span></span>\n <span class="token operator">...</span>\n<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>Affix</span><span class="token punctuation">></span></span>'},["code","<Affix style={{ position: 'absolute', top: y, left: x}}>\n ...\n</Affix>"]]]}}});
webpackJsonp([210,214],{803:function(t,n){t.exports={content:["section",["p","\u5c06\u9875\u9762\u5143\u7d20\u9489\u5728\u53ef\u89c6\u8303\u56f4\u3002"],["h2","\u4f55\u65f6\u4f7f\u7528"],["p","\u5f53\u5185\u5bb9\u533a\u57df\u6bd4\u8f83\u957f\uff0c\u9700\u8981\u6eda\u52a8\u9875\u9762\u65f6\uff0c\u8fd9\u90e8\u5206\u5185\u5bb9\u5bf9\u5e94\u7684\u64cd\u4f5c\u6216\u8005\u5bfc\u822a\u9700\u8981\u5728\u6eda\u52a8\u8303\u56f4\u5185\u59cb\u7ec8\u5c55\u73b0\u3002\u5e38\u7528\u4e8e\u4fa7\u8fb9\u83dc\u5355\u548c\u6309\u94ae\u7ec4\u5408\u3002"],["p","\u9875\u9762\u53ef\u89c6\u8303\u56f4\u8fc7\u5c0f\u65f6\uff0c\u614e\u7528\u6b64\u529f\u80fd\u4ee5\u514d\u906e\u6321\u9875\u9762\u5185\u5bb9\u3002"]],meta:{category:"Components",subtitle:"\u56fa\u9489",type:"Navigation",title:"Affix",filename:"components/affix/index.zh-CN.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#\u4f55\u65f6\u4f7f\u7528",title:"\u4f55\u65f6\u4f7f\u7528"},"\u4f55\u65f6\u4f7f\u7528"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["table",["thead",["tr",["th","\u6210\u5458"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","offsetTop"],["td","\u8ddd\u79bb\u7a97\u53e3\u9876\u90e8\u8fbe\u5230\u6307\u5b9a\u504f\u79fb\u91cf\u540e\u89e6\u53d1"],["td","number"],["td"]],["tr",["td","offsetBottom"],["td","\u8ddd\u79bb\u7a97\u53e3\u5e95\u90e8\u8fbe\u5230\u6307\u5b9a\u504f\u79fb\u91cf\u540e\u89e6\u53d1"],["td","number"],["td"]],["tr",["td","target"],["td","\u8bbe\u7f6e ",["code","Affix"]," \u9700\u8981\u76d1\u542c\u5176\u6eda\u52a8\u4e8b\u4ef6\u7684\u5143\u7d20\uff0c\u503c\u4e3a\u4e00\u4e2a\u8fd4\u56de\u5bf9\u5e94 DOM \u5143\u7d20\u7684\u51fd\u6570"],["td","() => HTMLElement"],["td","() => window"]],["tr",["td","onChange"],["td","\u56fa\u5b9a\u72b6\u6001\u6539\u53d8\u65f6\u89e6\u53d1\u7684\u56de\u8c03\u51fd\u6570"],["td","Function(affixed)"],["td","\u65e0"]]]],["p",["strong","\u6ce8\u610f\uff1a"],["code","Affix"]," \u5185\u7684\u5143\u7d20\u4e0d\u8981\u4f7f\u7528\u7edd\u5bf9\u5b9a\u4f4d\uff0c\u5982\u9700\u8981\u7edd\u5bf9\u5b9a\u4f4d\u7684\u6548\u679c\uff0c\u53ef\u4ee5\u76f4\u63a5\u8bbe\u7f6e ",["code","Affix"]," \u4e3a\u7edd\u5bf9\u5b9a\u4f4d\uff1a"],["pre",{lang:"jsx",highlighted:'<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Affix</span> <span class="token attr-name">style</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token punctuation">{</span> position<span class="token punctuation">:</span> <span class="token string">\'absolute\'</span><span class="token punctuation">,</span> top<span class="token punctuation">:</span> y<span class="token punctuation">,</span> left<span class="token punctuation">:</span> x<span class="token punctuation">}</span><span class="token punctuation">}</span></span><span class="token punctuation">></span></span>\n <span class="token operator">...</span>\n<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>Affix</span><span class="token punctuation">></span></span>'},["code","<Affix style={{ position: 'absolute', top: y, left: x}}>\n ...\n</Affix>"]]]}}});
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
webpackJsonp([209,214],{809:function(e,t){e.exports={content:["section",["p","Alert component for feedback."],["h2","When To Use"],["ul",["li",["p","When you need to show alert messages for users."]],["li",["p","When you need a persistent static container which is closable by user actions."]]]],meta:{category:"Components",type:"Feedback",title:"Alert",filename:"components/alert/index.en-US.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#When-To-Use",title:"When To Use"},"When To Use"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","type"],["td","Type of Alert styles, options:",["code","success"],", ",["code","info"],", ",["code","warning"],", ",["code","error"]],["td","string"],["td",["code","info"],", in ",["code","banner"]," mode it's ",["code","warning"]]],["tr",["td","closable"],["td","Whether Alert can be closed"],["td","boolean"],["td","-"]],["tr",["td","closeText"],["td","Close text to show"],["td","string","|","ReactNode"],["td","-"]],["tr",["td","message"],["td","Content of Alert"],["td","string","|","ReactNode"],["td","-"]],["tr",["td","description"],["td","Additional content of Alert"],["td","string","|","ReactNode"],["td","-"]],["tr",["td","onClose"],["td","Callback when close Alert"],["td","Function"],["td","-"]],["tr",["td","showIcon"],["td","Whether to show icon"],["td","boolean"],["td","false, in ",["code","banner"]," mode it's true"]],["tr",["td","banner"],["td","Whether to show as banner"],["td","boolean"],["td","false"]]]]]}}});
webpackJsonp([209,214],{811:function(e,t){e.exports={content:["section",["p","Alert component for feedback."],["h2","When To Use"],["ul",["li",["p","When you need to show alert messages for users."]],["li",["p","When you need a persistent static container which is closable by user actions."]]]],meta:{category:"Components",type:"Feedback",title:"Alert",filename:"components/alert/index.en-US.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#When-To-Use",title:"When To Use"},"When To Use"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","type"],["td","Type of Alert styles, options:",["code","success"],", ",["code","info"],", ",["code","warning"],", ",["code","error"]],["td","string"],["td",["code","info"],", in ",["code","banner"]," mode it's ",["code","warning"]]],["tr",["td","closable"],["td","Whether Alert can be closed"],["td","boolean"],["td","-"]],["tr",["td","closeText"],["td","Close text to show"],["td","string","|","ReactNode"],["td","-"]],["tr",["td","message"],["td","Content of Alert"],["td","string","|","ReactNode"],["td","-"]],["tr",["td","description"],["td","Additional content of Alert"],["td","string","|","ReactNode"],["td","-"]],["tr",["td","onClose"],["td","Callback when close Alert"],["td","Function"],["td","-"]],["tr",["td","showIcon"],["td","Whether to show icon"],["td","boolean"],["td","false, in ",["code","banner"]," mode it's true"]],["tr",["td","banner"],["td","Whether to show as banner"],["td","boolean"],["td","false"]]]]]}}});
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
webpackJsonp([208,214],{810:function(t,e){t.exports={content:["section",["p","\u8b66\u544a\u63d0\u793a\uff0c\u5c55\u73b0\u9700\u8981\u5173\u6ce8\u7684\u4fe1\u606f\u3002"],["h2","\u4f55\u65f6\u4f7f\u7528"],["ul",["li",["p","\u5f53\u67d0\u4e2a\u9875\u9762\u9700\u8981\u5411\u7528\u6237\u663e\u793a\u8b66\u544a\u7684\u4fe1\u606f\u65f6\u3002"]],["li",["p","\u975e\u6d6e\u5c42\u7684\u9759\u6001\u5c55\u73b0\u5f62\u5f0f\uff0c\u59cb\u7ec8\u5c55\u73b0\uff0c\u4e0d\u4f1a\u81ea\u52a8\u6d88\u5931\uff0c\u7528\u6237\u53ef\u4ee5\u70b9\u51fb\u5173\u95ed\u3002"]]]],meta:{category:"Components",subtitle:"\u8b66\u544a\u63d0\u793a",type:"Feedback",title:"Alert",filename:"components/alert/index.zh-CN.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#\u4f55\u65f6\u4f7f\u7528",title:"\u4f55\u65f6\u4f7f\u7528"},"\u4f55\u65f6\u4f7f\u7528"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["table",["thead",["tr",["th","\u53c2\u6570"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","type"],["td","\u6307\u5b9a\u8b66\u544a\u63d0\u793a\u7684\u6837\u5f0f\uff0c\u6709\u56db\u79cd\u9009\u62e9 ",["code","success"],"\u3001",["code","info"],"\u3001",["code","warning"],"\u3001",["code","error"]],["td","string"],["td",["code","info"],"\uff0c",["code","banner"]," \u6a21\u5f0f\u4e0b\u9ed8\u8ba4\u503c\u4e3a ",["code","warning"]]],["tr",["td","closable"],["td","\u9ed8\u8ba4\u4e0d\u663e\u793a\u5173\u95ed\u6309\u94ae"],["td","boolean"],["td","\u65e0"]],["tr",["td","closeText"],["td","\u81ea\u5b9a\u4e49\u5173\u95ed\u6309\u94ae"],["td","string","|","ReactNode"],["td","\u65e0"]],["tr",["td","message"],["td","\u8b66\u544a\u63d0\u793a\u5185\u5bb9"],["td","string","|","ReactNode"],["td","\u65e0"]],["tr",["td","description"],["td","\u8b66\u544a\u63d0\u793a\u7684\u8f85\u52a9\u6027\u6587\u5b57\u4ecb\u7ecd"],["td","string","|","ReactNode"],["td","\u65e0"]],["tr",["td","onClose"],["td","\u5173\u95ed\u65f6\u89e6\u53d1\u7684\u56de\u8c03\u51fd\u6570"],["td","Function"],["td","\u65e0"]],["tr",["td","showIcon"],["td","\u662f\u5426\u663e\u793a\u8f85\u52a9\u56fe\u6807"],["td","boolean"],["td","false\uff0c",["code","banner"]," \u6a21\u5f0f\u4e0b\u9ed8\u8ba4\u503c\u4e3a true"]],["tr",["td","banner"],["td","\u662f\u5426\u7528\u4f5c\u9876\u90e8\u516c\u544a"],["td","boolean"],["td","false"]]]]]}}});
webpackJsonp([208,214],{812:function(t,e){t.exports={content:["section",["p","\u8b66\u544a\u63d0\u793a\uff0c\u5c55\u73b0\u9700\u8981\u5173\u6ce8\u7684\u4fe1\u606f\u3002"],["h2","\u4f55\u65f6\u4f7f\u7528"],["ul",["li",["p","\u5f53\u67d0\u4e2a\u9875\u9762\u9700\u8981\u5411\u7528\u6237\u663e\u793a\u8b66\u544a\u7684\u4fe1\u606f\u65f6\u3002"]],["li",["p","\u975e\u6d6e\u5c42\u7684\u9759\u6001\u5c55\u73b0\u5f62\u5f0f\uff0c\u59cb\u7ec8\u5c55\u73b0\uff0c\u4e0d\u4f1a\u81ea\u52a8\u6d88\u5931\uff0c\u7528\u6237\u53ef\u4ee5\u70b9\u51fb\u5173\u95ed\u3002"]]]],meta:{category:"Components",subtitle:"\u8b66\u544a\u63d0\u793a",type:"Feedback",title:"Alert",filename:"components/alert/index.zh-CN.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#\u4f55\u65f6\u4f7f\u7528",title:"\u4f55\u65f6\u4f7f\u7528"},"\u4f55\u65f6\u4f7f\u7528"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["table",["thead",["tr",["th","\u53c2\u6570"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","type"],["td","\u6307\u5b9a\u8b66\u544a\u63d0\u793a\u7684\u6837\u5f0f\uff0c\u6709\u56db\u79cd\u9009\u62e9 ",["code","success"],"\u3001",["code","info"],"\u3001",["code","warning"],"\u3001",["code","error"]],["td","string"],["td",["code","info"],"\uff0c",["code","banner"]," \u6a21\u5f0f\u4e0b\u9ed8\u8ba4\u503c\u4e3a ",["code","warning"]]],["tr",["td","closable"],["td","\u9ed8\u8ba4\u4e0d\u663e\u793a\u5173\u95ed\u6309\u94ae"],["td","boolean"],["td","\u65e0"]],["tr",["td","closeText"],["td","\u81ea\u5b9a\u4e49\u5173\u95ed\u6309\u94ae"],["td","string","|","ReactNode"],["td","\u65e0"]],["tr",["td","message"],["td","\u8b66\u544a\u63d0\u793a\u5185\u5bb9"],["td","string","|","ReactNode"],["td","\u65e0"]],["tr",["td","description"],["td","\u8b66\u544a\u63d0\u793a\u7684\u8f85\u52a9\u6027\u6587\u5b57\u4ecb\u7ecd"],["td","string","|","ReactNode"],["td","\u65e0"]],["tr",["td","onClose"],["td","\u5173\u95ed\u65f6\u89e6\u53d1\u7684\u56de\u8c03\u51fd\u6570"],["td","Function"],["td","\u65e0"]],["tr",["td","showIcon"],["td","\u662f\u5426\u663e\u793a\u8f85\u52a9\u56fe\u6807"],["td","boolean"],["td","false\uff0c",["code","banner"]," \u6a21\u5f0f\u4e0b\u9ed8\u8ba4\u503c\u4e3a true"]],["tr",["td","banner"],["td","\u662f\u5426\u7528\u4f5c\u9876\u90e8\u516c\u544a"],["td","boolean"],["td","false"]]]]]}}});
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
webpackJsonp([207,214],{813:function(t,e){t.exports={content:["section",["p","Hyperlinks to scroll on one page."],["h2","When To Use"],["p","For displaying anchor hyperlinks on page and jumping between them."]],meta:{category:"Components",type:"Other",cols:2,title:"Anchor",filename:"components/anchor/index.en-US.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#When-To-Use",title:"When To Use"},"When To Use"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["h3","Anchor Props"],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","offsetTop"],["td","Pixels to offset from top when calculating position of scroll"],["td","number"],["td","0"]],["tr",["td","offsetBottom"],["td","Pixels to offset from bottom when calculating position of scroll"],["td","number"],["td","-"]],["tr",["td","bounds"],["td","Bounding distance of anchor area"],["td","number"],["td","5(px)"]],["tr",["td","affix"],["td","Fixed mode of Anchor"],["td","boolean"],["td","false"]],["tr",["td","showInkInFixed"],["td","Whether show ink-balls in Fixed mode"],["td","boolean"],["td","false"]]]],["h3","Link Props"],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","href"],["td","target of hyperlink"],["td","string"],["td"]],["tr",["td","title"],["td","content of hyperlink"],["td","string","|","ReactNode"],["td"]]]]]}}});
webpackJsonp([207,214],{815:function(t,e){t.exports={content:["section",["p","Hyperlinks to scroll on one page."],["h2","When To Use"],["p","For displaying anchor hyperlinks on page and jumping between them."]],meta:{category:"Components",type:"Other",cols:2,title:"Anchor",filename:"components/anchor/index.en-US.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#When-To-Use",title:"When To Use"},"When To Use"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["h3","Anchor Props"],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","offsetTop"],["td","Pixels to offset from top when calculating position of scroll"],["td","number"],["td","0"]],["tr",["td","offsetBottom"],["td","Pixels to offset from bottom when calculating position of scroll"],["td","number"],["td","-"]],["tr",["td","bounds"],["td","Bounding distance of anchor area"],["td","number"],["td","5(px)"]],["tr",["td","affix"],["td","Fixed mode of Anchor"],["td","boolean"],["td","false"]],["tr",["td","showInkInFixed"],["td","Whether show ink-balls in Fixed mode"],["td","boolean"],["td","false"]]]],["h3","Link Props"],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","href"],["td","target of hyperlink"],["td","string"],["td"]],["tr",["td","title"],["td","content of hyperlink"],["td","string","|","ReactNode"],["td"]]]]]}}});
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
webpackJsonp([206,214],{814:function(t,e){t.exports={content:["section",["p","\u7528\u4e8e\u8df3\u8f6c\u5230\u9875\u9762\u6307\u5b9a\u4f4d\u7f6e\u3002"],["h2","\u4f55\u65f6\u4f7f\u7528"],["p","\u9700\u8981\u5c55\u73b0\u5f53\u524d\u9875\u9762\u4e0a\u53ef\u4f9b\u8df3\u8f6c\u7684\u951a\u70b9\u94fe\u63a5\uff0c\u4ee5\u53ca\u5feb\u901f\u5728\u951a\u70b9\u4e4b\u95f4\u8df3\u8f6c\u3002"]],meta:{category:"Components",subtitle:"\u951a\u70b9",cols:2,type:"Other",title:"Anchor",filename:"components/anchor/index.zh-CN.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#\u4f55\u65f6\u4f7f\u7528",title:"\u4f55\u65f6\u4f7f\u7528"},"\u4f55\u65f6\u4f7f\u7528"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["h3","Anchor Props"],["table",["thead",["tr",["th","\u6210\u5458"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","offsetTop"],["td","\u8ddd\u79bb\u7a97\u53e3\u9876\u90e8\u8fbe\u5230\u6307\u5b9a\u504f\u79fb\u91cf\u540e\u89e6\u53d1"],["td","number"],["td"]],["tr",["td","offsetBottom"],["td","\u8ddd\u79bb\u7a97\u53e3\u5e95\u90e8\u8fbe\u5230\u6307\u5b9a\u504f\u79fb\u91cf\u540e\u89e6\u53d1"],["td","number"],["td"]],["tr",["td","bounds"],["td","\u951a\u70b9\u533a\u57df\u8fb9\u754c"],["td","number"],["td","5(px)"]],["tr",["td","affix"],["td","\u56fa\u5b9a\u6a21\u5f0f"],["td","boolean"],["td","false"]],["tr",["td","showInkInFixed"],["td","\u56fa\u5b9a\u6a21\u5f0f\u662f\u5426\u663e\u793a\u5c0f\u5706\u70b9"],["td","boolean"],["td","false"]]]],["h3","Link Props"],["table",["thead",["tr",["th","\u6210\u5458"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","href"],["td","\u951a\u70b9\u94fe\u63a5"],["td","string"],["td"]],["tr",["td","title"],["td","\u6587\u5b57\u5185\u5bb9"],["td","string","|","ReactNode"],["td"]]]]]}}});
webpackJsonp([206,214],{816:function(t,e){t.exports={content:["section",["p","\u7528\u4e8e\u8df3\u8f6c\u5230\u9875\u9762\u6307\u5b9a\u4f4d\u7f6e\u3002"],["h2","\u4f55\u65f6\u4f7f\u7528"],["p","\u9700\u8981\u5c55\u73b0\u5f53\u524d\u9875\u9762\u4e0a\u53ef\u4f9b\u8df3\u8f6c\u7684\u951a\u70b9\u94fe\u63a5\uff0c\u4ee5\u53ca\u5feb\u901f\u5728\u951a\u70b9\u4e4b\u95f4\u8df3\u8f6c\u3002"]],meta:{category:"Components",subtitle:"\u951a\u70b9",cols:2,type:"Other",title:"Anchor",filename:"components/anchor/index.zh-CN.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#\u4f55\u65f6\u4f7f\u7528",title:"\u4f55\u65f6\u4f7f\u7528"},"\u4f55\u65f6\u4f7f\u7528"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["h3","Anchor Props"],["table",["thead",["tr",["th","\u6210\u5458"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","offsetTop"],["td","\u8ddd\u79bb\u7a97\u53e3\u9876\u90e8\u8fbe\u5230\u6307\u5b9a\u504f\u79fb\u91cf\u540e\u89e6\u53d1"],["td","number"],["td"]],["tr",["td","offsetBottom"],["td","\u8ddd\u79bb\u7a97\u53e3\u5e95\u90e8\u8fbe\u5230\u6307\u5b9a\u504f\u79fb\u91cf\u540e\u89e6\u53d1"],["td","number"],["td"]],["tr",["td","bounds"],["td","\u951a\u70b9\u533a\u57df\u8fb9\u754c"],["td","number"],["td","5(px)"]],["tr",["td","affix"],["td","\u56fa\u5b9a\u6a21\u5f0f"],["td","boolean"],["td","false"]],["tr",["td","showInkInFixed"],["td","\u56fa\u5b9a\u6a21\u5f0f\u662f\u5426\u663e\u793a\u5c0f\u5706\u70b9"],["td","boolean"],["td","false"]]]],["h3","Link Props"],["table",["thead",["tr",["th","\u6210\u5458"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","href"],["td","\u951a\u70b9\u94fe\u63a5"],["td","string"],["td"]],["tr",["td","title"],["td","\u6587\u5b57\u5185\u5bb9"],["td","string","|","ReactNode"],["td"]]]]]}}});
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
webpackJsonp([205,214],{821:function(t,e){t.exports={content:["section",["p","Autocomplete function of input field."],["h2","When To Use"],["p","When there is a need for autocomplete functionality."]],meta:{category:"Components",type:"Data Entry",cols:2,title:"AutoComplete",filename:"components/auto-complete/index.en-US.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#When-To-Use",title:"When To Use"},"When To Use"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["pre",{lang:"jsx",highlighted:'<span class="token keyword">const</span> dataSource <span class="token operator">=</span> <span class="token punctuation">[</span><span class="token string">\'12345\'</span><span class="token punctuation">,</span> <span class="token string">\'23456\'</span><span class="token punctuation">,</span> <span class="token string">\'34567\'</span><span class="token punctuation">]</span><span class="token punctuation">;</span>\n<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>AutoComplete</span> <span class="token attr-name">dataSource</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>dataSource<span class="token punctuation">}</span></span> <span class="token punctuation">/></span></span>'},["code","const dataSource = ['12345', '23456', '34567'];\n<AutoComplete dataSource={dataSource} />"]],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","dataSource"],["td","Data source for autocomplete"],["td",["a",{title:null,href:"https://git.io/vMMKF"},"DataSourceItemType"],"[]"],["td"]],["tr",["td","value"],["td","selected option"],["td","string","|","string[]","|","{ key: string, label: string","|","ReactNode }","|","Array<{ key: string, label: string","|","ReactNode }>"],["td","-"]],["tr",["td","defaultValue"],["td","Initial selected option."],["td","string","|","string[]","|","{ key: string, label: string","|","ReactNode }","|","Array<{ key: string, label: string","|","ReactNode }>"],["td","-"]],["tr",["td","allowClear"],["td","Show clear button, effective in multiple mode only."],["td","boolean"],["td","false"]],["tr",["td","onChange"],["td","Called when select an option or input value change, or value of input is changed"],["td","function(value, label)"],["td","-"]],["tr",["td","onSelect"],["td","Called when a option is selected. param is option's value and option instance."],["td","function(value, option)"],["td","-"]],["tr",["td","onSearch"],["td","Called when searching items."],["td","function(value)"],["td","-"]],["tr",["td","disabled"],["td","Whether disabled select"],["td","boolean"],["td","false"]],["tr",["td","defaultActiveFirstOption"],["td","Whether active first option by default"],["td","boolean"],["td","true"]],["tr",["td","placeholder"],["td","placeholder of input"],["td","string"],["td","-"]],["tr",["td","children (for dataSource)"],["td","Data source for autocomplet"],["td","React.ReactElement",["optionprops"]," / Array<React.ReactElement",["optionprops"],">"],["td","-"]],["tr",["td","children (for customize input element)"],["td","customize input element"],["td","HTMLInputElement / HTMLTextAreaElement / React.ReactElement",["inputprops"]],["td",["code","<Input />"]]],["tr",["td","optionLabelProp"],["td","Which prop value of option will render as content of select."],["td","string"],["td",["code","children"]]],["tr",["td","filterOption"],["td","If true, filter options by input, if function, filter options against it. The function will receive two arguments, ",["code","inputValue"]," and ",["code","option"],", if the function returns ",["code","true"],", the option will be included in the filtered set; Otherwise, it will be excluded."],["td","boolean or function(inputValue, option)"],["td","true"]]]]]}}});
webpackJsonp([205,214],{823:function(t,e){t.exports={content:["section",["p","Autocomplete function of input field."],["h2","When To Use"],["p","When there is a need for autocomplete functionality."]],meta:{category:"Components",type:"Data Entry",cols:2,title:"AutoComplete",filename:"components/auto-complete/index.en-US.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#When-To-Use",title:"When To Use"},"When To Use"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["pre",{lang:"jsx",highlighted:'<span class="token keyword">const</span> dataSource <span class="token operator">=</span> <span class="token punctuation">[</span><span class="token string">\'12345\'</span><span class="token punctuation">,</span> <span class="token string">\'23456\'</span><span class="token punctuation">,</span> <span class="token string">\'34567\'</span><span class="token punctuation">]</span><span class="token punctuation">;</span>\n<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>AutoComplete</span> <span class="token attr-name">dataSource</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>dataSource<span class="token punctuation">}</span></span> <span class="token punctuation">/></span></span>'},["code","const dataSource = ['12345', '23456', '34567'];\n<AutoComplete dataSource={dataSource} />"]],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","dataSource"],["td","Data source for autocomplete"],["td",["a",{title:null,href:"https://git.io/vMMKF"},"DataSourceItemType"],"[]"],["td"]],["tr",["td","value"],["td","selected option"],["td","string","|","string[]","|","{ key: string, label: string","|","ReactNode }","|","Array<{ key: string, label: string","|","ReactNode }>"],["td","-"]],["tr",["td","defaultValue"],["td","Initial selected option."],["td","string","|","string[]","|","{ key: string, label: string","|","ReactNode }","|","Array<{ key: string, label: string","|","ReactNode }>"],["td","-"]],["tr",["td","allowClear"],["td","Show clear button, effective in multiple mode only."],["td","boolean"],["td","false"]],["tr",["td","onChange"],["td","Called when select an option or input value change, or value of input is changed"],["td","function(value, label)"],["td","-"]],["tr",["td","onSelect"],["td","Called when a option is selected. param is option's value and option instance."],["td","function(value, option)"],["td","-"]],["tr",["td","onSearch"],["td","Called when searching items."],["td","function(value)"],["td","-"]],["tr",["td","disabled"],["td","Whether disabled select"],["td","boolean"],["td","false"]],["tr",["td","defaultActiveFirstOption"],["td","Whether active first option by default"],["td","boolean"],["td","true"]],["tr",["td","placeholder"],["td","placeholder of input"],["td","string"],["td","-"]],["tr",["td","children (for dataSource)"],["td","Data source for autocomplet"],["td","React.ReactElement",["optionprops"]," / Array<React.ReactElement",["optionprops"],">"],["td","-"]],["tr",["td","children (for customize input element)"],["td","customize input element"],["td","HTMLInputElement / HTMLTextAreaElement / React.ReactElement",["inputprops"]],["td",["code","<Input />"]]],["tr",["td","optionLabelProp"],["td","Which prop value of option will render as content of select."],["td","string"],["td",["code","children"]]],["tr",["td","filterOption"],["td","If true, filter options by input, if function, filter options against it. The function will receive two arguments, ",["code","inputValue"]," and ",["code","option"],", if the function returns ",["code","true"],", the option will be included in the filtered set; Otherwise, it will be excluded."],["td","boolean or function(inputValue, option)"],["td","true"]]]]]}}});
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
webpackJsonp([204,214],{822:function(t,n){t.exports={content:["section",["p","\u8f93\u5165\u6846\u81ea\u52a8\u5b8c\u6210\u529f\u80fd\u3002"],["h2","\u4f55\u65f6\u4f7f\u7528"],["p","\u9700\u8981\u81ea\u52a8\u5b8c\u6210\u65f6\u3002"]],meta:{category:"Components",subtitle:"\u81ea\u52a8\u5b8c\u6210",type:"Data Entry",cols:2,title:"AutoComplete",filename:"components/auto-complete/index.zh-CN.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#\u4f55\u65f6\u4f7f\u7528",title:"\u4f55\u65f6\u4f7f\u7528"},"\u4f55\u65f6\u4f7f\u7528"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["pre",{lang:"jsx",highlighted:'<span class="token keyword">const</span> dataSource <span class="token operator">=</span> <span class="token punctuation">[</span><span class="token string">\'12345\'</span><span class="token punctuation">,</span> <span class="token string">\'23456\'</span><span class="token punctuation">,</span> <span class="token string">\'34567\'</span><span class="token punctuation">]</span><span class="token punctuation">;</span>\n<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>AutoComplete</span> <span class="token attr-name">dataSource</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>dataSource<span class="token punctuation">}</span></span> <span class="token punctuation">/></span></span>'},["code","const dataSource = ['12345', '23456', '34567'];\n<AutoComplete dataSource={dataSource} />"]],["table",["thead",["tr",["th","\u53c2\u6570"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","dataSource"],["td","\u81ea\u52a8\u5b8c\u6210\u7684\u6570\u636e\u6e90"],["td",["a",{title:null,href:"https://git.io/vMMKF"},"DataSourceItemType"],"[]"],["td"]],["tr",["td","value"],["td","\u6307\u5b9a\u5f53\u524d\u9009\u4e2d\u7684\u6761\u76ee"],["td","string","|","string[]","|","{ key: string, label: string","|","ReactNode }","|","Array<{ key: string, label: string","|","ReactNode }>"],["td","\u65e0"]],["tr",["td","defaultValue"],["td","\u6307\u5b9a\u9ed8\u8ba4\u9009\u4e2d\u7684\u6761\u76ee"],["td","string","|","string[]","|","{ key: string, label: string","|","ReactNode }","|","Array<{ key: string, label: string","|","ReactNode}>"],["td","\u65e0"]],["tr",["td","allowClear"],["td","\u652f\u6301\u6e05\u9664, \u5355\u9009\u6a21\u5f0f\u6709\u6548"],["td","boolean"],["td","false"]],["tr",["td","onChange"],["td","\u9009\u4e2d option\uff0c\u6216 input \u7684 value \u53d8\u5316\u65f6\uff0c\u8c03\u7528\u6b64\u51fd\u6570"],["td","function(value)"],["td","\u65e0"]],["tr",["td","onSelect"],["td","\u88ab\u9009\u4e2d\u65f6\u8c03\u7528\uff0c\u53c2\u6570\u4e3a\u9009\u4e2d\u9879\u7684 value \u503c"],["td","function(value, option)"],["td","\u65e0"]],["tr",["td","onSearch"],["td","\u641c\u7d22\u8865\u5168\u9879\u7684\u65f6\u5019\u8c03\u7528"],["td","function(value)"],["td","\u65e0"]],["tr",["td","disabled"],["td","\u662f\u5426\u7981\u7528"],["td","boolean"],["td","false"]],["tr",["td","defaultActiveFirstOption"],["td","\u662f\u5426\u9ed8\u8ba4\u9ad8\u4eae\u7b2c\u4e00\u4e2a\u9009\u9879\u3002"],["td","boolean"],["td","true"]],["tr",["td","placeholder"],["td","\u8f93\u5165\u6846\u63d0\u793a"],["td","string"],["td","-"]],["tr",["td","children (\u81ea\u52a8\u5b8c\u6210\u7684\u6570\u636e\u6e90)"],["td","\u81ea\u52a8\u5b8c\u6210\u7684\u6570\u636e\u6e90"],["td","React.ReactElement",["optionprops"]," / Array<React.ReactElement",["optionprops"],">"],["td","-"]],["tr",["td","children (\u81ea\u5b9a\u4e49\u8f93\u5165\u6846)"],["td","\u81ea\u5b9a\u4e49\u8f93\u5165\u6846"],["td","HTMLInputElement / HTMLTextAreaElement / React.ReactElement",["inputprops"]],["td",["code","<Input />"]]],["tr",["td","optionLabelProp"],["td","\u56de\u586b\u5230\u9009\u62e9\u6846\u7684 Option \u7684\u5c5e\u6027\u503c\uff0c\u9ed8\u8ba4\u662f Option \u7684\u5b50\u5143\u7d20\u3002\u6bd4\u5982\u5728\u5b50\u5143\u7d20\u9700\u8981\u9ad8\u4eae\u6548\u679c\u65f6\uff0c\u6b64\u503c\u53ef\u4ee5\u8bbe\u4e3a ",["code","value"],"\u3002"],["td","string"],["td",["code","children"]]],["tr",["td","filterOption"],["td","\u662f\u5426\u6839\u636e\u8f93\u5165\u9879\u8fdb\u884c\u7b5b\u9009\u3002\u5f53\u5176\u4e3a\u4e00\u4e2a\u51fd\u6570\u65f6\uff0c\u4f1a\u63a5\u6536 ",["code","inputValue"]," ",["code","option"]," \u4e24\u4e2a\u53c2\u6570\uff0c\u5f53 ",["code","option"]," \u7b26\u5408\u7b5b\u9009\u6761\u4ef6\u65f6\uff0c\u5e94\u8fd4\u56de ",["code","true"],"\uff0c\u53cd\u4e4b\u5219\u8fd4\u56de ",["code","false"],"\u3002"],["td","boolean or function(inputValue, option)"],["td","true"]]]]]}}});
webpackJsonp([204,214],{824:function(t,n){t.exports={content:["section",["p","\u8f93\u5165\u6846\u81ea\u52a8\u5b8c\u6210\u529f\u80fd\u3002"],["h2","\u4f55\u65f6\u4f7f\u7528"],["p","\u9700\u8981\u81ea\u52a8\u5b8c\u6210\u65f6\u3002"]],meta:{category:"Components",subtitle:"\u81ea\u52a8\u5b8c\u6210",type:"Data Entry",cols:2,title:"AutoComplete",filename:"components/auto-complete/index.zh-CN.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#\u4f55\u65f6\u4f7f\u7528",title:"\u4f55\u65f6\u4f7f\u7528"},"\u4f55\u65f6\u4f7f\u7528"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["pre",{lang:"jsx",highlighted:'<span class="token keyword">const</span> dataSource <span class="token operator">=</span> <span class="token punctuation">[</span><span class="token string">\'12345\'</span><span class="token punctuation">,</span> <span class="token string">\'23456\'</span><span class="token punctuation">,</span> <span class="token string">\'34567\'</span><span class="token punctuation">]</span><span class="token punctuation">;</span>\n<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>AutoComplete</span> <span class="token attr-name">dataSource</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>dataSource<span class="token punctuation">}</span></span> <span class="token punctuation">/></span></span>'},["code","const dataSource = ['12345', '23456', '34567'];\n<AutoComplete dataSource={dataSource} />"]],["table",["thead",["tr",["th","\u53c2\u6570"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","dataSource"],["td","\u81ea\u52a8\u5b8c\u6210\u7684\u6570\u636e\u6e90"],["td",["a",{title:null,href:"https://git.io/vMMKF"},"DataSourceItemType"],"[]"],["td"]],["tr",["td","value"],["td","\u6307\u5b9a\u5f53\u524d\u9009\u4e2d\u7684\u6761\u76ee"],["td","string","|","string[]","|","{ key: string, label: string","|","ReactNode }","|","Array<{ key: string, label: string","|","ReactNode }>"],["td","\u65e0"]],["tr",["td","defaultValue"],["td","\u6307\u5b9a\u9ed8\u8ba4\u9009\u4e2d\u7684\u6761\u76ee"],["td","string","|","string[]","|","{ key: string, label: string","|","ReactNode }","|","Array<{ key: string, label: string","|","ReactNode}>"],["td","\u65e0"]],["tr",["td","allowClear"],["td","\u652f\u6301\u6e05\u9664, \u5355\u9009\u6a21\u5f0f\u6709\u6548"],["td","boolean"],["td","false"]],["tr",["td","onChange"],["td","\u9009\u4e2d option\uff0c\u6216 input \u7684 value \u53d8\u5316\u65f6\uff0c\u8c03\u7528\u6b64\u51fd\u6570"],["td","function(value)"],["td","\u65e0"]],["tr",["td","onSelect"],["td","\u88ab\u9009\u4e2d\u65f6\u8c03\u7528\uff0c\u53c2\u6570\u4e3a\u9009\u4e2d\u9879\u7684 value \u503c"],["td","function(value, option)"],["td","\u65e0"]],["tr",["td","onSearch"],["td","\u641c\u7d22\u8865\u5168\u9879\u7684\u65f6\u5019\u8c03\u7528"],["td","function(value)"],["td","\u65e0"]],["tr",["td","disabled"],["td","\u662f\u5426\u7981\u7528"],["td","boolean"],["td","false"]],["tr",["td","defaultActiveFirstOption"],["td","\u662f\u5426\u9ed8\u8ba4\u9ad8\u4eae\u7b2c\u4e00\u4e2a\u9009\u9879\u3002"],["td","boolean"],["td","true"]],["tr",["td","placeholder"],["td","\u8f93\u5165\u6846\u63d0\u793a"],["td","string"],["td","-"]],["tr",["td","children (\u81ea\u52a8\u5b8c\u6210\u7684\u6570\u636e\u6e90)"],["td","\u81ea\u52a8\u5b8c\u6210\u7684\u6570\u636e\u6e90"],["td","React.ReactElement",["optionprops"]," / Array<React.ReactElement",["optionprops"],">"],["td","-"]],["tr",["td","children (\u81ea\u5b9a\u4e49\u8f93\u5165\u6846)"],["td","\u81ea\u5b9a\u4e49\u8f93\u5165\u6846"],["td","HTMLInputElement / HTMLTextAreaElement / React.ReactElement",["inputprops"]],["td",["code","<Input />"]]],["tr",["td","optionLabelProp"],["td","\u56de\u586b\u5230\u9009\u62e9\u6846\u7684 Option \u7684\u5c5e\u6027\u503c\uff0c\u9ed8\u8ba4\u662f Option \u7684\u5b50\u5143\u7d20\u3002\u6bd4\u5982\u5728\u5b50\u5143\u7d20\u9700\u8981\u9ad8\u4eae\u6548\u679c\u65f6\uff0c\u6b64\u503c\u53ef\u4ee5\u8bbe\u4e3a ",["code","value"],"\u3002"],["td","string"],["td",["code","children"]]],["tr",["td","filterOption"],["td","\u662f\u5426\u6839\u636e\u8f93\u5165\u9879\u8fdb\u884c\u7b5b\u9009\u3002\u5f53\u5176\u4e3a\u4e00\u4e2a\u51fd\u6570\u65f6\uff0c\u4f1a\u63a5\u6536 ",["code","inputValue"]," ",["code","option"]," \u4e24\u4e2a\u53c2\u6570\uff0c\u5f53 ",["code","option"]," \u7b26\u5408\u7b5b\u9009\u6761\u4ef6\u65f6\uff0c\u5e94\u8fd4\u56de ",["code","true"],"\uff0c\u53cd\u4e4b\u5219\u8fd4\u56de ",["code","false"],"\u3002"],["td","boolean or function(inputValue, option)"],["td","true"]]]]]}}});
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
webpackJsonp([203,214],{827:function(t,e){t.exports={content:["section",["p","Avatars can be used to represent people or object, which supports image, antd-Icon, or letter."]],meta:{category:"Components",type:"Data Display",title:"Avatar",filename:"components/avatar/index.en-US.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","type"],["td","to set the shape of avatar"],["td","Enum{ 'circle', 'square' }"],["td",["code","circle"]]],["tr",["td","size"],["td","to set the size of avatar"],["td","Enum{ 'large', 'small', 'default' }"],["td",["code","default"]]],["tr",["td","src"],["td","the address of a image avatar"],["td","string"],["td","-"]],["tr",["td","icon"],["td","the icon type of a icon avatar, see ",["code","Icon"]," Component"],["td","string"],["td","-"]]]]]}}});
webpackJsonp([203,214],{829:function(t,e){t.exports={content:["section",["p","Avatars can be used to represent people or object, which supports image, antd-Icon, or letter."]],meta:{category:"Components",type:"Data Display",title:"Avatar",filename:"components/avatar/index.en-US.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","type"],["td","to set the shape of avatar"],["td","Enum{ 'circle', 'square' }"],["td",["code","circle"]]],["tr",["td","size"],["td","to set the size of avatar"],["td","Enum{ 'large', 'small', 'default' }"],["td",["code","default"]]],["tr",["td","src"],["td","the address of a image avatar"],["td","string"],["td","-"]],["tr",["td","icon"],["td","the icon type of a icon avatar, see ",["code","Icon"]," Component"],["td","string"],["td","-"]]]]]}}});
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
webpackJsonp([202,214],{828:function(t,e){t.exports={content:["section",["p","\u7528\u6765\u4ee3\u8868\u7528\u6237\u6216\u4e8b\u7269\uff0c\u652f\u6301\u56fe\u7247\u3001\u56fe\u6807\u6216\u5b57\u7b26\u5c55\u793a\u3002"]],meta:{category:"Components",subtitle:"\u5934\u50cf",type:"Data Display",title:"Avatar",filename:"components/avatar/index.zh-CN.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["table",["thead",["tr",["th","\u53c2\u6570"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","shape"],["td","\u6307\u5b9a\u5934\u50cf\u7684\u5f62\u72b6"],["td","Enum{ 'circle', 'square' }"],["td",["code","circle"]]],["tr",["td","size"],["td","\u8bbe\u7f6e\u5934\u50cf\u7684\u5927\u5c0f"],["td","Enum{ 'large', 'small', 'default' }"],["td",["code","default"]]],["tr",["td","src"],["td","\u56fe\u7247\u7c7b\u5934\u50cf\u7684\u8d44\u6e90\u5730\u5740"],["td","string"],["td","-"]],["tr",["td","icon"],["td","\u8bbe\u7f6e\u5934\u50cf\u7684\u56fe\u6807\u7c7b\u578b\uff0c\u53c2\u8003 ",["code","Icon"]," \u7ec4\u4ef6"],["td","string"],["td","-"]]]]]}}});
webpackJsonp([202,214],{830:function(t,e){t.exports={content:["section",["p","\u7528\u6765\u4ee3\u8868\u7528\u6237\u6216\u4e8b\u7269\uff0c\u652f\u6301\u56fe\u7247\u3001\u56fe\u6807\u6216\u5b57\u7b26\u5c55\u793a\u3002"]],meta:{category:"Components",subtitle:"\u5934\u50cf",type:"Data Display",title:"Avatar",filename:"components/avatar/index.zh-CN.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["table",["thead",["tr",["th","\u53c2\u6570"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","shape"],["td","\u6307\u5b9a\u5934\u50cf\u7684\u5f62\u72b6"],["td","Enum{ 'circle', 'square' }"],["td",["code","circle"]]],["tr",["td","size"],["td","\u8bbe\u7f6e\u5934\u50cf\u7684\u5927\u5c0f"],["td","Enum{ 'large', 'small', 'default' }"],["td",["code","default"]]],["tr",["td","src"],["td","\u56fe\u7247\u7c7b\u5934\u50cf\u7684\u8d44\u6e90\u5730\u5740"],["td","string"],["td","-"]],["tr",["td","icon"],["td","\u8bbe\u7f6e\u5934\u50cf\u7684\u56fe\u6807\u7c7b\u578b\uff0c\u53c2\u8003 ",["code","Icon"]," \u7ec4\u4ef6"],["td","string"],["td","-"]]]]]}}});
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
webpackJsonp([201,214],{831:function(e,t){e.exports={content:["section",["p",["code","BackTop"]," makes it easy to go back to the top of the page."],["h2","When To Use"],["ul",["li",["p","When the page content is very long."]],["li",["p","When you need to go back to the top very frequently in order to view the contents."]]]],meta:{category:"Components",type:"Navigation",title:"BackTop",filename:"components/back-top/index.en-US.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#When-To-Use",title:"When To Use"},"When To Use"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["blockquote",["p","The distance to the bottom is set to ",["code","50px"]," by default, which is overridable."],["p","If you decide to use custom styles, please note the size limit: no more than ",["code","40px * 40px"],"."]],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","visibilityHeight"],["td","the ",["code","BackTop"]," button will not show until the scroll height reaches this value"],["td","number"],["td","400"]],["tr",["td","onClick"],["td","a callback function, which can be executed when you click the button"],["td","Function"],["td","-"]],["tr",["td","target"],["td","specifies the scrollable area dom node"],["td","() => HTMLElement"],["td","() => window"]]]]]}}});
webpackJsonp([201,214],{833:function(e,t){e.exports={content:["section",["p",["code","BackTop"]," makes it easy to go back to the top of the page."],["h2","When To Use"],["ul",["li",["p","When the page content is very long."]],["li",["p","When you need to go back to the top very frequently in order to view the contents."]]]],meta:{category:"Components",type:"Navigation",title:"BackTop",filename:"components/back-top/index.en-US.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#When-To-Use",title:"When To Use"},"When To Use"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["blockquote",["p","The distance to the bottom is set to ",["code","50px"]," by default, which is overridable."],["p","If you decide to use custom styles, please note the size limit: no more than ",["code","40px * 40px"],"."]],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","visibilityHeight"],["td","the ",["code","BackTop"]," button will not show until the scroll height reaches this value"],["td","number"],["td","400"]],["tr",["td","onClick"],["td","a callback function, which can be executed when you click the button"],["td","Function"],["td","-"]],["tr",["td","target"],["td","specifies the scrollable area dom node"],["td","() => HTMLElement"],["td","() => window"]]]]]}}});
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
webpackJsonp([200,214],{832:function(t,e){t.exports={content:["section",["p","\u8fd4\u56de\u9875\u9762\u9876\u90e8\u7684\u64cd\u4f5c\u6309\u94ae\u3002"],["h2","\u4f55\u65f6\u4f7f\u7528"],["ul",["li",["p","\u5f53\u9875\u9762\u5185\u5bb9\u533a\u57df\u6bd4\u8f83\u957f\u65f6\uff1b"]],["li",["p","\u5f53\u7528\u6237\u9700\u8981\u9891\u7e41\u8fd4\u56de\u9876\u90e8\u67e5\u770b\u76f8\u5173\u5185\u5bb9\u65f6\u3002"]]]],meta:{category:"Components",type:"Navigation",subtitle:"\u56de\u5230\u9876\u90e8",title:"BackTop",filename:"components/back-top/index.zh-CN.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#\u4f55\u65f6\u4f7f\u7528",title:"\u4f55\u65f6\u4f7f\u7528"},"\u4f55\u65f6\u4f7f\u7528"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["blockquote",["p","\u6709\u9ed8\u8ba4\u6837\u5f0f\uff0c\u8ddd\u79bb\u5e95\u90e8 ",["code","50px"],"\uff0c\u53ef\u8986\u76d6\u3002"],["p","\u81ea\u5b9a\u4e49\u6837\u5f0f\u5bbd\u9ad8\u4e0d\u5927\u4e8e 40px * 40px\u3002"]],["table",["thead",["tr",["th","\u53c2\u6570"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","visibilityHeight"],["td","\u6eda\u52a8\u9ad8\u5ea6\u8fbe\u5230\u6b64\u53c2\u6570\u503c\u624d\u51fa\u73b0 ",["code","BackTop"]],["td","number"],["td","400"]],["tr",["td","onClick"],["td","\u70b9\u51fb\u6309\u94ae\u7684\u56de\u8c03\u51fd\u6570"],["td","Function"],["td","-"]],["tr",["td","target"],["td","\u8bbe\u7f6e\u9700\u8981\u76d1\u542c\u5176\u6eda\u52a8\u4e8b\u4ef6\u7684\u5143\u7d20\uff0c\u503c\u4e3a\u4e00\u4e2a\u8fd4\u56de\u5bf9\u5e94 DOM \u5143\u7d20\u7684\u51fd\u6570"],["td","Function"],["td","() => window"]]]]]}}});
webpackJsonp([200,214],{834:function(t,e){t.exports={content:["section",["p","\u8fd4\u56de\u9875\u9762\u9876\u90e8\u7684\u64cd\u4f5c\u6309\u94ae\u3002"],["h2","\u4f55\u65f6\u4f7f\u7528"],["ul",["li",["p","\u5f53\u9875\u9762\u5185\u5bb9\u533a\u57df\u6bd4\u8f83\u957f\u65f6\uff1b"]],["li",["p","\u5f53\u7528\u6237\u9700\u8981\u9891\u7e41\u8fd4\u56de\u9876\u90e8\u67e5\u770b\u76f8\u5173\u5185\u5bb9\u65f6\u3002"]]]],meta:{category:"Components",type:"Navigation",subtitle:"\u56de\u5230\u9876\u90e8",title:"BackTop",filename:"components/back-top/index.zh-CN.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#\u4f55\u65f6\u4f7f\u7528",title:"\u4f55\u65f6\u4f7f\u7528"},"\u4f55\u65f6\u4f7f\u7528"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["blockquote",["p","\u6709\u9ed8\u8ba4\u6837\u5f0f\uff0c\u8ddd\u79bb\u5e95\u90e8 ",["code","50px"],"\uff0c\u53ef\u8986\u76d6\u3002"],["p","\u81ea\u5b9a\u4e49\u6837\u5f0f\u5bbd\u9ad8\u4e0d\u5927\u4e8e 40px * 40px\u3002"]],["table",["thead",["tr",["th","\u53c2\u6570"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","visibilityHeight"],["td","\u6eda\u52a8\u9ad8\u5ea6\u8fbe\u5230\u6b64\u53c2\u6570\u503c\u624d\u51fa\u73b0 ",["code","BackTop"]],["td","number"],["td","400"]],["tr",["td","onClick"],["td","\u70b9\u51fb\u6309\u94ae\u7684\u56de\u8c03\u51fd\u6570"],["td","Function"],["td","-"]],["tr",["td","target"],["td","\u8bbe\u7f6e\u9700\u8981\u76d1\u542c\u5176\u6eda\u52a8\u4e8b\u4ef6\u7684\u5143\u7d20\uff0c\u503c\u4e3a\u4e00\u4e2a\u8fd4\u56de\u5bf9\u5e94 DOM \u5143\u7d20\u7684\u51fd\u6570"],["td","Function"],["td","() => window"]]]]]}}});
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
webpackJsonp([199,214],{840:function(a,t){a.exports={content:["section",["p","Small numerical value or status descriptors for UI elements."],["h2","When To Use"],["p","Badge normally appears in proximity to notification or head picture with eye-catching appeal, typically displaying unread messages count."]],meta:{category:"Components",type:"Data Display",title:"Badge",filename:"components/badge/index.en-US.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#When-To-Use",title:"When To Use"},"When To Use"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["pre",{lang:"jsx",highlighted:'<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Badge</span> <span class="token attr-name">count</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">5</span><span class="token punctuation">}</span></span><span class="token punctuation">></span></span>\n <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>a</span> <span class="token attr-name">href</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#<span class="token punctuation">"</span></span> <span class="token attr-name">className</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>head-example<span class="token punctuation">"</span></span> <span class="token punctuation">/></span></span>\n<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>Badge</span><span class="token punctuation">></span></span>'},["code",'<Badge count={5}>\n <a href="#" className="head-example" />\n</Badge>']],["pre",{lang:"jsx",highlighted:'<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Badge</span> <span class="token attr-name">count</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">5</span><span class="token punctuation">}</span></span> <span class="token punctuation">/></span></span>'},["code","<Badge count={5} />"]],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","count"],["td","Number to show in badge"],["td","number"],["td"]],["tr",["td","overflowCount"],["td","Max count to show"],["td","number"],["td","99"]],["tr",["td","showZero"],["td","Whether to show badge when ",["code","count"]," is zero"],["td","boolean"],["td","false"]],["tr",["td","dot"],["td","Whether to show red dot without number"],["td","boolean"],["td","false"]],["tr",["td","status"],["td","Set Badge as a status dot"],["td","Enum{ 'success', 'processing, 'default', 'error', 'warning' }"],["td","''"]],["tr",["td","text"],["td","If ",["code","status"]," is set, ",["code","text"]," is to set the text of status dot"],["td","string"],["td","''"]]]]]}}});
webpackJsonp([199,214],{842:function(a,t){a.exports={content:["section",["p","Small numerical value or status descriptors for UI elements."],["h2","When To Use"],["p","Badge normally appears in proximity to notification or head picture with eye-catching appeal, typically displaying unread messages count."]],meta:{category:"Components",type:"Data Display",title:"Badge",filename:"components/badge/index.en-US.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#When-To-Use",title:"When To Use"},"When To Use"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["pre",{lang:"jsx",highlighted:'<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Badge</span> <span class="token attr-name">count</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">5</span><span class="token punctuation">}</span></span><span class="token punctuation">></span></span>\n <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>a</span> <span class="token attr-name">href</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#<span class="token punctuation">"</span></span> <span class="token attr-name">className</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>head-example<span class="token punctuation">"</span></span> <span class="token punctuation">/></span></span>\n<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>Badge</span><span class="token punctuation">></span></span>'},["code",'<Badge count={5}>\n <a href="#" className="head-example" />\n</Badge>']],["pre",{lang:"jsx",highlighted:'<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Badge</span> <span class="token attr-name">count</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">5</span><span class="token punctuation">}</span></span> <span class="token punctuation">/></span></span>'},["code","<Badge count={5} />"]],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","count"],["td","Number to show in badge"],["td","number"],["td"]],["tr",["td","overflowCount"],["td","Max count to show"],["td","number"],["td","99"]],["tr",["td","showZero"],["td","Whether to show badge when ",["code","count"]," is zero"],["td","boolean"],["td","false"]],["tr",["td","dot"],["td","Whether to show red dot without number"],["td","boolean"],["td","false"]],["tr",["td","status"],["td","Set Badge as a status dot"],["td","Enum{ 'success', 'processing, 'default', 'error', 'warning' }"],["td","''"]],["tr",["td","text"],["td","If ",["code","status"]," is set, ",["code","text"]," is to set the text of status dot"],["td","string"],["td","''"]]]]]}}});
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
webpackJsonp([198,214],{841:function(a,n){a.exports={content:["section",["p","\u56fe\u6807\u53f3\u4e0a\u89d2\u7684\u5706\u5f62\u5fbd\u6807\u6570\u5b57\u3002"],["h2","\u4f55\u65f6\u4f7f\u7528"],["p","\u4e00\u822c\u51fa\u73b0\u5728\u901a\u77e5\u56fe\u6807\u6216\u5934\u50cf\u7684\u53f3\u4e0a\u89d2\uff0c\u7528\u4e8e\u663e\u793a\u9700\u8981\u5904\u7406\u7684\u6d88\u606f\u6761\u6570\uff0c\u901a\u8fc7\u9192\u76ee\u89c6\u89c9\u5f62\u5f0f\u5438\u5f15\u7528\u6237\u5904\u7406\u3002"]],meta:{category:"Components",subtitle:"\u5fbd\u6807\u6570",type:"Data Display",title:"Badge",filename:"components/badge/index.zh-CN.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#\u4f55\u65f6\u4f7f\u7528",title:"\u4f55\u65f6\u4f7f\u7528"},"\u4f55\u65f6\u4f7f\u7528"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["pre",{lang:"jsx",highlighted:'<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Badge</span> <span class="token attr-name">count</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">5</span><span class="token punctuation">}</span></span><span class="token punctuation">></span></span>\n <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>a</span> <span class="token attr-name">href</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#<span class="token punctuation">"</span></span> <span class="token attr-name">className</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>head-example<span class="token punctuation">"</span></span> <span class="token punctuation">/></span></span>\n<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>Badge</span><span class="token punctuation">></span></span>'},["code",'<Badge count={5}>\n <a href="#" className="head-example" />\n</Badge>']],["pre",{lang:"jsx",highlighted:'<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Badge</span> <span class="token attr-name">count</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">5</span><span class="token punctuation">}</span></span> <span class="token punctuation">/></span></span>'},["code","<Badge count={5} />"]],["table",["thead",["tr",["th","\u53c2\u6570"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","count"],["td","\u5c55\u793a\u7684\u6570\u5b57\uff0c\u5927\u4e8e overflowCount \u65f6\u663e\u793a\u4e3a ",["code","${overflowCount}+"],"\uff0c\u4e3a 0 \u65f6\u9690\u85cf"],["td","number"],["td"]],["tr",["td","overflowCount"],["td","\u5c55\u793a\u5c01\u9876\u7684\u6570\u5b57\u503c"],["td","number"],["td","99"]],["tr",["td","showZero"],["td","\u5f53\u6570\u503c\u4e3a 0 \u65f6\uff0c\u662f\u5426\u5c55\u793a Badge"],["td","boolean"],["td","false"]],["tr",["td","dot"],["td","\u4e0d\u5c55\u793a\u6570\u5b57\uff0c\u53ea\u6709\u4e00\u4e2a\u5c0f\u7ea2\u70b9"],["td","boolean"],["td","false"]],["tr",["td","status"],["td","\u8bbe\u7f6e Badge \u4e3a\u72b6\u6001\u70b9"],["td","Enum{ 'success', 'processing, 'default', 'error', 'warning' }"],["td","''"]],["tr",["td","text"],["td","\u5728\u8bbe\u7f6e\u4e86 ",["code","status"]," \u7684\u524d\u63d0\u4e0b\u6709\u6548\uff0c\u8bbe\u7f6e\u72b6\u6001\u70b9\u7684\u6587\u672c"],["td","string"],["td","''"]]]]]}}});
webpackJsonp([198,214],{843:function(a,n){a.exports={content:["section",["p","\u56fe\u6807\u53f3\u4e0a\u89d2\u7684\u5706\u5f62\u5fbd\u6807\u6570\u5b57\u3002"],["h2","\u4f55\u65f6\u4f7f\u7528"],["p","\u4e00\u822c\u51fa\u73b0\u5728\u901a\u77e5\u56fe\u6807\u6216\u5934\u50cf\u7684\u53f3\u4e0a\u89d2\uff0c\u7528\u4e8e\u663e\u793a\u9700\u8981\u5904\u7406\u7684\u6d88\u606f\u6761\u6570\uff0c\u901a\u8fc7\u9192\u76ee\u89c6\u89c9\u5f62\u5f0f\u5438\u5f15\u7528\u6237\u5904\u7406\u3002"]],meta:{category:"Components",subtitle:"\u5fbd\u6807\u6570",type:"Data Display",title:"Badge",filename:"components/badge/index.zh-CN.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#\u4f55\u65f6\u4f7f\u7528",title:"\u4f55\u65f6\u4f7f\u7528"},"\u4f55\u65f6\u4f7f\u7528"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["pre",{lang:"jsx",highlighted:'<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Badge</span> <span class="token attr-name">count</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">5</span><span class="token punctuation">}</span></span><span class="token punctuation">></span></span>\n <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>a</span> <span class="token attr-name">href</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>#<span class="token punctuation">"</span></span> <span class="token attr-name">className</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>head-example<span class="token punctuation">"</span></span> <span class="token punctuation">/></span></span>\n<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>Badge</span><span class="token punctuation">></span></span>'},["code",'<Badge count={5}>\n <a href="#" className="head-example" />\n</Badge>']],["pre",{lang:"jsx",highlighted:'<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Badge</span> <span class="token attr-name">count</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">5</span><span class="token punctuation">}</span></span> <span class="token punctuation">/></span></span>'},["code","<Badge count={5} />"]],["table",["thead",["tr",["th","\u53c2\u6570"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","count"],["td","\u5c55\u793a\u7684\u6570\u5b57\uff0c\u5927\u4e8e overflowCount \u65f6\u663e\u793a\u4e3a ",["code","${overflowCount}+"],"\uff0c\u4e3a 0 \u65f6\u9690\u85cf"],["td","number"],["td"]],["tr",["td","overflowCount"],["td","\u5c55\u793a\u5c01\u9876\u7684\u6570\u5b57\u503c"],["td","number"],["td","99"]],["tr",["td","showZero"],["td","\u5f53\u6570\u503c\u4e3a 0 \u65f6\uff0c\u662f\u5426\u5c55\u793a Badge"],["td","boolean"],["td","false"]],["tr",["td","dot"],["td","\u4e0d\u5c55\u793a\u6570\u5b57\uff0c\u53ea\u6709\u4e00\u4e2a\u5c0f\u7ea2\u70b9"],["td","boolean"],["td","false"]],["tr",["td","status"],["td","\u8bbe\u7f6e Badge \u4e3a\u72b6\u6001\u70b9"],["td","Enum{ 'success', 'processing, 'default', 'error', 'warning' }"],["td","''"]],["tr",["td","text"],["td","\u5728\u8bbe\u7f6e\u4e86 ",["code","status"]," \u7684\u524d\u63d0\u4e0b\u6709\u6548\uff0c\u8bbe\u7f6e\u72b6\u6001\u70b9\u7684\u6587\u672c"],["td","string"],["td","''"]]]]]}}});
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
webpackJsonp([195,214],{856:function(t,e){t.exports={content:["section",["p","To trigger an operation."],["h2","When To Use"],["p","A button means an operation (or a series of operations). Clicking a button will trigger corresponding business logic."]],meta:{category:"Components",type:"General",title:"Button",filename:"components/button/index.en-US.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#When-To-Use",title:"When To Use"},"When To Use"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["p","To get a customized button, just set ",["code","type"],"/",["code","shape"],"/",["code","size"],"/",["code","loading"],"/",["code","disabled"],"."],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","type"],["td","can be set to ",["code","primary"]," ",["code","dashed"]," ",["code","danger"],"(added in 2.7) or omitted"],["td","string"],["td","'default'"]],["tr",["td","htmlType"],["td","to set the original ",["code","type"]," of ",["code","button"],", see: ",["a",{title:null,href:"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type"},"MDN"]],["td","string"],["td",["code","button"]]],["tr",["td","icon"],["td","set the icon of button, see: Icon component"],["td","string"],["td","-"]],["tr",["td","shape"],["td","can be set to ",["code","circle"]," or omitted"],["td","string"],["td","-"]],["tr",["td","size"],["td","can be set to ",["code","small"]," ",["code","large"]," or omitted"],["td","string"],["td",["code","default"]]],["tr",["td","loading"],["td","to set the loading status of button"],["td","boolean ","|"," { delay: number }"],["td",["code","false"]]],["tr",["td","onClick"],["td","set the handler to handle ",["code","click"]," event"],["td","function"],["td","-"]],["tr",["td","ghost"],["td","make background transparent and invert text and border color, added in 2.7"],["td","boolean"],["td","false"]]]],["p",["code","<Button>Hello world!</Button>"]," will be rendered into ",["code","<button>Hello world!</button>"],", and all the properties which are not listed above will be transferred to the ",["code","<button>"]," tag."],["style","\n[id^=components-button-demo-] .ant-btn {\n margin-right: 8px;\n margin-bottom: 12px;\n}\n[id^=components-button-demo-] .ant-btn-group > .ant-btn {\n margin-right: 0;\n}\n"]]}}});
webpackJsonp([195,214],{858:function(t,e){t.exports={content:["section",["p","To trigger an operation."],["h2","When To Use"],["p","A button means an operation (or a series of operations). Clicking a button will trigger corresponding business logic."]],meta:{category:"Components",type:"General",title:"Button",filename:"components/button/index.en-US.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#When-To-Use",title:"When To Use"},"When To Use"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["p","To get a customized button, just set ",["code","type"],"/",["code","shape"],"/",["code","size"],"/",["code","loading"],"/",["code","disabled"],"."],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","type"],["td","can be set to ",["code","primary"]," ",["code","dashed"]," ",["code","danger"],"(added in 2.7) or omitted"],["td","string"],["td","'default'"]],["tr",["td","htmlType"],["td","to set the original ",["code","type"]," of ",["code","button"],", see: ",["a",{title:null,href:"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type"},"MDN"]],["td","string"],["td",["code","button"]]],["tr",["td","icon"],["td","set the icon of button, see: Icon component"],["td","string"],["td","-"]],["tr",["td","shape"],["td","can be set to ",["code","circle"]," or omitted"],["td","string"],["td","-"]],["tr",["td","size"],["td","can be set to ",["code","small"]," ",["code","large"]," or omitted"],["td","string"],["td",["code","default"]]],["tr",["td","loading"],["td","to set the loading status of button"],["td","boolean ","|"," { delay: number }"],["td",["code","false"]]],["tr",["td","onClick"],["td","set the handler to handle ",["code","click"]," event"],["td","function"],["td","-"]],["tr",["td","ghost"],["td","make background transparent and invert text and border color, added in 2.7"],["td","boolean"],["td","false"]]]],["p",["code","<Button>Hello world!</Button>"]," will be rendered into ",["code","<button>Hello world!</button>"],", and all the properties which are not listed above will be transferred to the ",["code","<button>"]," tag."],["style","\n[id^=components-button-demo-] .ant-btn {\n margin-right: 8px;\n margin-bottom: 12px;\n}\n[id^=components-button-demo-] .ant-btn-group > .ant-btn {\n margin-right: 0;\n}\n"]]}}});
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
webpackJsonp([194,214],{857:function(t,e){t.exports={content:["section",["p","\u6309\u94ae\u7528\u4e8e\u5f00\u59cb\u4e00\u4e2a\u5373\u65f6\u64cd\u4f5c\u3002"],["h2","\u4f55\u65f6\u4f7f\u7528"],["p","\u6807\u8bb0\u4e86\u4e00\u4e2a\uff08\u6216\u5c01\u88c5\u4e00\u7ec4\uff09\u64cd\u4f5c\u547d\u4ee4\uff0c\u54cd\u5e94\u7528\u6237\u70b9\u51fb\u884c\u4e3a\uff0c\u89e6\u53d1\u76f8\u5e94\u7684\u4e1a\u52a1\u903b\u8f91\u3002"]],meta:{category:"Components",type:"General",title:"Button",subtitle:"\u6309\u94ae",filename:"components/button/index.zh-CN.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#\u4f55\u65f6\u4f7f\u7528",title:"\u4f55\u65f6\u4f7f\u7528"},"\u4f55\u65f6\u4f7f\u7528"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["p","\u901a\u8fc7\u8bbe\u7f6e Button \u7684\u5c5e\u6027\u6765\u4ea7\u751f\u4e0d\u540c\u7684\u6309\u94ae\u6837\u5f0f\uff0c\u63a8\u8350\u987a\u5e8f\u4e3a\uff1a",["code","type"]," -> ",["code","shape"]," -> ",["code","size"]," -> ",["code","loading"]," -> ",["code","disabled"]],["p","\u6309\u94ae\u7684\u5c5e\u6027\u8bf4\u660e\u5982\u4e0b\uff1a"],["table",["thead",["tr",["th","\u5c5e\u6027"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","type"],["td","\u8bbe\u7f6e\u6309\u94ae\u7c7b\u578b\uff0c\u53ef\u9009\u503c\u4e3a ",["code","primary"]," ",["code","dashed"]," ",["code","danger"],"(\u7248\u672c 2.7 \u4e2d\u589e\u52a0) \u6216\u8005\u4e0d\u8bbe"],["td","string"],["td","-"]],["tr",["td","htmlType"],["td","\u8bbe\u7f6e ",["code","button"]," \u539f\u751f\u7684 ",["code","type"]," \u503c\uff0c\u53ef\u9009\u503c\u8bf7\u53c2\u8003 ",["a",{title:null,href:"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type"},"HTML \u6807\u51c6"]],["td","string"],["td",["code","button"]]],["tr",["td","icon"],["td","\u8bbe\u7f6e\u6309\u94ae\u7684\u56fe\u6807\u7c7b\u578b"],["td","string"],["td","-"]],["tr",["td","shape"],["td","\u8bbe\u7f6e\u6309\u94ae\u5f62\u72b6\uff0c\u53ef\u9009\u503c\u4e3a ",["code","circle"]," \u6216\u8005\u4e0d\u8bbe"],["td","string"],["td","-"]],["tr",["td","size"],["td","\u8bbe\u7f6e\u6309\u94ae\u5927\u5c0f\uff0c\u53ef\u9009\u503c\u4e3a ",["code","small"]," ",["code","large"]," \u6216\u8005\u4e0d\u8bbe"],["td","string"],["td",["code","default"]]],["tr",["td","loading"],["td","\u8bbe\u7f6e\u6309\u94ae\u8f7d\u5165\u72b6\u6001"],["td","boolean ","|"," { delay: number }"],["td",["code","false"]]],["tr",["td","onClick"],["td",["code","click"]," \u4e8b\u4ef6\u7684 handler"],["td","function"],["td","-"]],["tr",["td","ghost"],["td","\u5e7d\u7075\u5c5e\u6027\uff0c\u4f7f\u6309\u94ae\u80cc\u666f\u900f\u660e\uff0c\u7248\u672c 2.7 \u4e2d\u589e\u52a0"],["td","boolean"],["td","false"]]]],["p",["code","<Button>Hello world!</Button>"]," \u6700\u7ec8\u4f1a\u88ab\u6e32\u67d3\u4e3a ",["code","<button>Hello world!</button>"],"\uff0c\u5e76\u4e14\u9664\u4e86\u4e0a\u8868\u4e2d\u7684\u5c5e\u6027\uff0c\u5176\u5b83\u5c5e\u6027\u90fd\u4f1a\u76f4\u63a5\u4f20\u5230 ",["code","<button></button>"],"\u3002"],["style",'\n[id^="components-button-demo-"] .ant-btn {\n margin-right: 8px;\n margin-bottom: 12px;\n}\n[id^="components-button-demo-"] .ant-btn-group > .ant-btn {\n margin-right: 0;\n}\n']]}}});
webpackJsonp([194,214],{859:function(t,e){t.exports={content:["section",["p","\u6309\u94ae\u7528\u4e8e\u5f00\u59cb\u4e00\u4e2a\u5373\u65f6\u64cd\u4f5c\u3002"],["h2","\u4f55\u65f6\u4f7f\u7528"],["p","\u6807\u8bb0\u4e86\u4e00\u4e2a\uff08\u6216\u5c01\u88c5\u4e00\u7ec4\uff09\u64cd\u4f5c\u547d\u4ee4\uff0c\u54cd\u5e94\u7528\u6237\u70b9\u51fb\u884c\u4e3a\uff0c\u89e6\u53d1\u76f8\u5e94\u7684\u4e1a\u52a1\u903b\u8f91\u3002"]],meta:{category:"Components",type:"General",title:"Button",subtitle:"\u6309\u94ae",filename:"components/button/index.zh-CN.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#\u4f55\u65f6\u4f7f\u7528",title:"\u4f55\u65f6\u4f7f\u7528"},"\u4f55\u65f6\u4f7f\u7528"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["p","\u901a\u8fc7\u8bbe\u7f6e Button \u7684\u5c5e\u6027\u6765\u4ea7\u751f\u4e0d\u540c\u7684\u6309\u94ae\u6837\u5f0f\uff0c\u63a8\u8350\u987a\u5e8f\u4e3a\uff1a",["code","type"]," -> ",["code","shape"]," -> ",["code","size"]," -> ",["code","loading"]," -> ",["code","disabled"]],["p","\u6309\u94ae\u7684\u5c5e\u6027\u8bf4\u660e\u5982\u4e0b\uff1a"],["table",["thead",["tr",["th","\u5c5e\u6027"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","type"],["td","\u8bbe\u7f6e\u6309\u94ae\u7c7b\u578b\uff0c\u53ef\u9009\u503c\u4e3a ",["code","primary"]," ",["code","dashed"]," ",["code","danger"],"(\u7248\u672c 2.7 \u4e2d\u589e\u52a0) \u6216\u8005\u4e0d\u8bbe"],["td","string"],["td","-"]],["tr",["td","htmlType"],["td","\u8bbe\u7f6e ",["code","button"]," \u539f\u751f\u7684 ",["code","type"]," \u503c\uff0c\u53ef\u9009\u503c\u8bf7\u53c2\u8003 ",["a",{title:null,href:"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type"},"HTML \u6807\u51c6"]],["td","string"],["td",["code","button"]]],["tr",["td","icon"],["td","\u8bbe\u7f6e\u6309\u94ae\u7684\u56fe\u6807\u7c7b\u578b"],["td","string"],["td","-"]],["tr",["td","shape"],["td","\u8bbe\u7f6e\u6309\u94ae\u5f62\u72b6\uff0c\u53ef\u9009\u503c\u4e3a ",["code","circle"]," \u6216\u8005\u4e0d\u8bbe"],["td","string"],["td","-"]],["tr",["td","size"],["td","\u8bbe\u7f6e\u6309\u94ae\u5927\u5c0f\uff0c\u53ef\u9009\u503c\u4e3a ",["code","small"]," ",["code","large"]," \u6216\u8005\u4e0d\u8bbe"],["td","string"],["td",["code","default"]]],["tr",["td","loading"],["td","\u8bbe\u7f6e\u6309\u94ae\u8f7d\u5165\u72b6\u6001"],["td","boolean ","|"," { delay: number }"],["td",["code","false"]]],["tr",["td","onClick"],["td",["code","click"]," \u4e8b\u4ef6\u7684 handler"],["td","function"],["td","-"]],["tr",["td","ghost"],["td","\u5e7d\u7075\u5c5e\u6027\uff0c\u4f7f\u6309\u94ae\u80cc\u666f\u900f\u660e\uff0c\u7248\u672c 2.7 \u4e2d\u589e\u52a0"],["td","boolean"],["td","false"]]]],["p",["code","<Button>Hello world!</Button>"]," \u6700\u7ec8\u4f1a\u88ab\u6e32\u67d3\u4e3a ",["code","<button>Hello world!</button>"],"\uff0c\u5e76\u4e14\u9664\u4e86\u4e0a\u8868\u4e2d\u7684\u5c5e\u6027\uff0c\u5176\u5b83\u5c5e\u6027\u90fd\u4f1a\u76f4\u63a5\u4f20\u5230 ",["code","<button></button>"],"\u3002"],["style",'\n[id^="components-button-demo-"] .ant-btn {\n margin-right: 8px;\n margin-bottom: 12px;\n}\n[id^="components-button-demo-"] .ant-btn-group > .ant-btn {\n margin-right: 0;\n}\n']]}}});
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
webpackJsonp([193,214],{862:function(t,e){t.exports={content:["section",["p","Container for displaying data in calendar form."],["h2","When To Use"],["p","When data is in the form of date, such as schedule, timetable, prices calendar, Lunar calendar. This component also supports Year/Month switch."]],meta:{category:"Components",type:"Data Display",cols:1,title:"Calendar",filename:"components/calendar/index.en-US.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#When-To-Use",title:"When To Use"},"When To Use"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["p",["strong","Note:"]," Part of locale of Calendar is read from value. So, please set the locale of moment correctly."],["pre",{lang:"jsx",highlighted:'<span class="token keyword">import</span> moment <span class="token keyword">from</span> <span class="token string">\'moment\'</span><span class="token punctuation">;</span>\n\n<span class="token comment" spellcheck="true">// It\'s recommended to set locale in entry file globaly.</span>\n<span class="token keyword">import</span> <span class="token string">\'moment/locale/zh-cn\'</span><span class="token punctuation">;</span>\nmoment<span class="token punctuation">.</span><span class="token function">locale</span><span class="token punctuation">(</span><span class="token string">\'zh-cn\'</span><span class="token punctuation">)</span><span class="token punctuation">;</span>\n\n<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Calendar</span>\n <span class="token attr-name">dateCellRender</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>dateCellRender<span class="token punctuation">}</span></span>\n <span class="token attr-name">monthCellRender</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>monthCellRender<span class="token punctuation">}</span></span>\n <span class="token attr-name">onPanelChange</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>onPanelChange<span class="token punctuation">}</span></span>\n <span class="token attr-name">onSelect</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>onSelect<span class="token punctuation">}</span></span>\n<span class="token punctuation">/></span></span>'},["code","import moment from 'moment';\n\n// It's recommended to set locale in entry file globaly.\nimport 'moment/locale/zh-cn';\nmoment.locale('zh-cn');\n\n<Calendar\n dateCellRender={dateCellRender}\n monthCellRender={monthCellRender}\n onPanelChange={onPanelChange}\n onSelect={onSelect}\n/>"]],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","value"],["td","set date"],["td",["a",{title:null,href:"http://momentjs.com/"},"moment"]],["td","current date"]],["tr",["td","defaultValue"],["td","set default date"],["td",["a",{title:null,href:"http://momentjs.com/"},"moment"]],["td","default date"]],["tr",["td","mode"],["td","can be set to month or year"],["td","string"],["td","month"]],["tr",["td","fullscreen"],["td","to set whether full-screen display"],["td","boolean"],["td","true"]],["tr",["td","dateCellRender"],["td","to set the way of renderer the date cell, the returned content will be appended to the cell"],["td","function(date: moment): ReactNode"],["td","-"]],["tr",["td","monthCellRender"],["td","to set the way of renderer the month cell, the returned content will be appended to the cell"],["td","function(date: moment): ReactNode"],["td","-"]],["tr",["td","dateFullCellRender"],["td","to set the way of renderer the date cell,the returned content will override the cell"],["td","function(date: moment): ReactNode"],["td","-"]],["tr",["td","monthFullCellRender"],["td","to set the way of renderer the month cell,the returned content will override the cell"],["td","function(date: moment): ReactNode"],["td","-"]],["tr",["td","locale"],["td","set locale"],["td","object"],["td",["a",{title:null,href:"https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json"},"default"]]],["tr",["td","onPanelChange"],["td","callback when panel change"],["td","function(date: moment, mode: string)"],["td","-"]],["tr",["td","onSelect"],["td","callback when select date"],["td","function(date: moment\uff09"],["td","-"]],["tr",["td","disabledDate"],["td","specify the date that cannot be selected"],["td","(currentDate: moment) => boolean"],["td","\u65e0"]]]]]}}});
webpackJsonp([193,214],{864:function(t,e){t.exports={content:["section",["p","Container for displaying data in calendar form."],["h2","When To Use"],["p","When data is in the form of date, such as schedule, timetable, prices calendar, Lunar calendar. This component also supports Year/Month switch."]],meta:{category:"Components",type:"Data Display",cols:1,title:"Calendar",filename:"components/calendar/index.en-US.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#When-To-Use",title:"When To Use"},"When To Use"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["p",["strong","Note:"]," Part of locale of Calendar is read from value. So, please set the locale of moment correctly."],["pre",{lang:"jsx",highlighted:'<span class="token keyword">import</span> moment <span class="token keyword">from</span> <span class="token string">\'moment\'</span><span class="token punctuation">;</span>\n\n<span class="token comment" spellcheck="true">// It\'s recommended to set locale in entry file globaly.</span>\n<span class="token keyword">import</span> <span class="token string">\'moment/locale/zh-cn\'</span><span class="token punctuation">;</span>\nmoment<span class="token punctuation">.</span><span class="token function">locale</span><span class="token punctuation">(</span><span class="token string">\'zh-cn\'</span><span class="token punctuation">)</span><span class="token punctuation">;</span>\n\n<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Calendar</span>\n <span class="token attr-name">dateCellRender</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>dateCellRender<span class="token punctuation">}</span></span>\n <span class="token attr-name">monthCellRender</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>monthCellRender<span class="token punctuation">}</span></span>\n <span class="token attr-name">onPanelChange</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>onPanelChange<span class="token punctuation">}</span></span>\n <span class="token attr-name">onSelect</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>onSelect<span class="token punctuation">}</span></span>\n<span class="token punctuation">/></span></span>'},["code","import moment from 'moment';\n\n// It's recommended to set locale in entry file globaly.\nimport 'moment/locale/zh-cn';\nmoment.locale('zh-cn');\n\n<Calendar\n dateCellRender={dateCellRender}\n monthCellRender={monthCellRender}\n onPanelChange={onPanelChange}\n onSelect={onSelect}\n/>"]],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","value"],["td","set date"],["td",["a",{title:null,href:"http://momentjs.com/"},"moment"]],["td","current date"]],["tr",["td","defaultValue"],["td","set default date"],["td",["a",{title:null,href:"http://momentjs.com/"},"moment"]],["td","default date"]],["tr",["td","mode"],["td","can be set to month or year"],["td","string"],["td","month"]],["tr",["td","fullscreen"],["td","to set whether full-screen display"],["td","boolean"],["td","true"]],["tr",["td","dateCellRender"],["td","to set the way of renderer the date cell, the returned content will be appended to the cell"],["td","function(date: moment): ReactNode"],["td","-"]],["tr",["td","monthCellRender"],["td","to set the way of renderer the month cell, the returned content will be appended to the cell"],["td","function(date: moment): ReactNode"],["td","-"]],["tr",["td","dateFullCellRender"],["td","to set the way of renderer the date cell,the returned content will override the cell"],["td","function(date: moment): ReactNode"],["td","-"]],["tr",["td","monthFullCellRender"],["td","to set the way of renderer the month cell,the returned content will override the cell"],["td","function(date: moment): ReactNode"],["td","-"]],["tr",["td","locale"],["td","set locale"],["td","object"],["td",["a",{title:null,href:"https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json"},"default"]]],["tr",["td","onPanelChange"],["td","callback when panel change"],["td","function(date: moment, mode: string)"],["td","-"]],["tr",["td","onSelect"],["td","callback when select date"],["td","function(date: moment\uff09"],["td","-"]],["tr",["td","disabledDate"],["td","specify the date that cannot be selected"],["td","(currentDate: moment) => boolean"],["td","\u65e0"]]]]]}}});
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
webpackJsonp([191,214],{870:function(t,e){t.exports={content:["section",["p","Simple rectangular container"],["h2","When To Use"],["p","A card can be used to display content related to a single subject. The content can consist of multiple elements of varying type and size."]],meta:{category:"Components",type:"Data Display",title:"Card",cols:1,filename:"components/card/index.en-US.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#When-To-Use",title:"When To Use"},"When To Use"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["pre",{lang:"html",highlighted:'<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Card</span> <span class="token attr-name">title</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Card title<span class="token punctuation">"</span></span><span class="token punctuation">></span></span>Card content<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>Card</span><span class="token punctuation">></span></span>'},["code",'<Card title="Card title">Card content</Card>']],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","title"],["td","Card title"],["td","string","|","ReactNode"],["td","-"]],["tr",["td","extra"],["td","Content to render in the top-right corner of the card"],["td","string","|","ReactNode"],["td","-"]],["tr",["td","bordered"],["td","Toggles rendering of the border around the card"],["td","boolean"],["td","true"]],["tr",["td","bodyStyle"],["td","Inline style to apply to the card content"],["td","object"],["td","-"]],["tr",["td","loading"],["td","Shows a loading indicator while the contents of the card are being fetched"],["td","boolean"],["td","false"]]]]]}}});
webpackJsonp([191,214],{872:function(t,e){t.exports={content:["section",["p","Simple rectangular container"],["h2","When To Use"],["p","A card can be used to display content related to a single subject. The content can consist of multiple elements of varying type and size."]],meta:{category:"Components",type:"Data Display",title:"Card",cols:1,filename:"components/card/index.en-US.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#When-To-Use",title:"When To Use"},"When To Use"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["pre",{lang:"html",highlighted:'<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Card</span> <span class="token attr-name">title</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>Card title<span class="token punctuation">"</span></span><span class="token punctuation">></span></span>Card content<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>Card</span><span class="token punctuation">></span></span>'},["code",'<Card title="Card title">Card content</Card>']],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","title"],["td","Card title"],["td","string","|","ReactNode"],["td","-"]],["tr",["td","extra"],["td","Content to render in the top-right corner of the card"],["td","string","|","ReactNode"],["td","-"]],["tr",["td","bordered"],["td","Toggles rendering of the border around the card"],["td","boolean"],["td","true"]],["tr",["td","bodyStyle"],["td","Inline style to apply to the card content"],["td","object"],["td","-"]],["tr",["td","loading"],["td","Shows a loading indicator while the contents of the card are being fetched"],["td","boolean"],["td","false"]]]]]}}});
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
webpackJsonp([190,214],{871:function(t,a){t.exports={content:["section",["p","\u901a\u7528\u5361\u7247\u5bb9\u5668\u3002"],["h2","\u4f55\u65f6\u4f7f\u7528"],["p","\u6700\u57fa\u7840\u7684\u5361\u7247\u5bb9\u5668\uff0c\u53ef\u627f\u8f7d\u6587\u5b57\u3001\u5217\u8868\u3001\u56fe\u7247\u3001\u6bb5\u843d\uff0c\u5e38\u7528\u4e8e\u540e\u53f0\u6982\u89c8\u9875\u9762\u3002"]],meta:{category:"Components",type:"Data Display",title:"Card",subtitle:"\u5361\u7247",cols:1,filename:"components/card/index.zh-CN.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#\u4f55\u65f6\u4f7f\u7528",title:"\u4f55\u65f6\u4f7f\u7528"},"\u4f55\u65f6\u4f7f\u7528"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["pre",{lang:"html",highlighted:'<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Card</span> <span class="token attr-name">title</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>\u5361\u7247\u6807\u9898<span class="token punctuation">"</span></span><span class="token punctuation">></span></span>\u5361\u7247\u5185\u5bb9<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>Card</span><span class="token punctuation">></span></span>'},["code",'<Card title="\u5361\u7247\u6807\u9898">\u5361\u7247\u5185\u5bb9</Card>']],["table",["thead",["tr",["th","\u53c2\u6570"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","title"],["td","\u5361\u7247\u6807\u9898"],["td","string","|","ReactNode"],["td","-"]],["tr",["td","extra"],["td","\u5361\u7247\u53f3\u4e0a\u89d2\u7684\u64cd\u4f5c\u533a\u57df"],["td","string","|","ReactNode"],["td","-"]],["tr",["td","bordered"],["td","\u662f\u5426\u6709\u8fb9\u6846"],["td","boolean"],["td","true"]],["tr",["td","bodyStyle"],["td","\u5185\u5bb9\u533a\u57df\u81ea\u5b9a\u4e49\u6837\u5f0f"],["td","object"],["td","-"]],["tr",["td","loading"],["td","\u5f53\u5361\u7247\u5185\u5bb9\u8fd8\u5728\u52a0\u8f7d\u4e2d\u65f6\uff0c\u53ef\u4ee5\u7528 loading \u5c55\u793a\u4e00\u4e2a\u5360\u4f4d"],["td","boolean"],["td","false"]]]]]}}});
webpackJsonp([190,214],{873:function(t,a){t.exports={content:["section",["p","\u901a\u7528\u5361\u7247\u5bb9\u5668\u3002"],["h2","\u4f55\u65f6\u4f7f\u7528"],["p","\u6700\u57fa\u7840\u7684\u5361\u7247\u5bb9\u5668\uff0c\u53ef\u627f\u8f7d\u6587\u5b57\u3001\u5217\u8868\u3001\u56fe\u7247\u3001\u6bb5\u843d\uff0c\u5e38\u7528\u4e8e\u540e\u53f0\u6982\u89c8\u9875\u9762\u3002"]],meta:{category:"Components",type:"Data Display",title:"Card",subtitle:"\u5361\u7247",cols:1,filename:"components/card/index.zh-CN.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#\u4f55\u65f6\u4f7f\u7528",title:"\u4f55\u65f6\u4f7f\u7528"},"\u4f55\u65f6\u4f7f\u7528"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["pre",{lang:"html",highlighted:'<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Card</span> <span class="token attr-name">title</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>\u5361\u7247\u6807\u9898<span class="token punctuation">"</span></span><span class="token punctuation">></span></span>\u5361\u7247\u5185\u5bb9<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>Card</span><span class="token punctuation">></span></span>'},["code",'<Card title="\u5361\u7247\u6807\u9898">\u5361\u7247\u5185\u5bb9</Card>']],["table",["thead",["tr",["th","\u53c2\u6570"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","title"],["td","\u5361\u7247\u6807\u9898"],["td","string","|","ReactNode"],["td","-"]],["tr",["td","extra"],["td","\u5361\u7247\u53f3\u4e0a\u89d2\u7684\u64cd\u4f5c\u533a\u57df"],["td","string","|","ReactNode"],["td","-"]],["tr",["td","bordered"],["td","\u662f\u5426\u6709\u8fb9\u6846"],["td","boolean"],["td","true"]],["tr",["td","bodyStyle"],["td","\u5185\u5bb9\u533a\u57df\u81ea\u5b9a\u4e49\u6837\u5f0f"],["td","object"],["td","-"]],["tr",["td","loading"],["td","\u5f53\u5361\u7247\u5185\u5bb9\u8fd8\u5728\u52a0\u8f7d\u4e2d\u65f6\uff0c\u53ef\u4ee5\u7528 loading \u5c55\u793a\u4e00\u4e2a\u5360\u4f4d"],["td","boolean"],["td","false"]]]]]}}});
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
webpackJsonp([189,214],{876:function(t,e){t.exports={content:["section",["p","A carousel component. Scales with its container."],["h2","When To Use"],["ul",["li",["p","When there is a group of content on the same level."]],["li",["p","When there is insufficient content space, it can be used to save space in the form of a resolving door."]],["li",["p","Commonly used for a group of pictures/cards."]]]],meta:{category:"Components",type:"Data Display",title:"Carousel",filename:"components/carousel/index.en-US.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#When-To-Use",title:"When To Use"},"When To Use"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","effect"],["td","Animation effect, either ",["code","scrollx"]," or ",["code","fade"]],["td","string"],["td","scrollx"]],["tr",["td","dots"],["td","Whether to show the dots at the bottom of the gallery"],["td","boolean"],["td","true"]],["tr",["td","vertical"],["td","Whether to use a vertical display"],["td","boolean"],["td","false"]],["tr",["td","autoplay"],["td","Whether to scroll automatically"],["td","boolean"],["td","false"]],["tr",["td","easing"],["td","Transition name"],["td","string"],["td","linear"]],["tr",["td","beforeChange"],["td","Callback function called before the current index changes"],["td","function(from, to)"]],["tr",["td","afterChange"],["td","Callback function called after the current index changes"],["td","function(current)"]]]],["p","For more info on the parameters, refer to the ",["a",{title:null,href:"https://github.com/akiran/react-slick"},"https://github.com/akiran/react-slick"]]]}}});
webpackJsonp([189,214],{878:function(t,e){t.exports={content:["section",["p","A carousel component. Scales with its container."],["h2","When To Use"],["ul",["li",["p","When there is a group of content on the same level."]],["li",["p","When there is insufficient content space, it can be used to save space in the form of a resolving door."]],["li",["p","Commonly used for a group of pictures/cards."]]]],meta:{category:"Components",type:"Data Display",title:"Carousel",filename:"components/carousel/index.en-US.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#When-To-Use",title:"When To Use"},"When To Use"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","effect"],["td","Animation effect, either ",["code","scrollx"]," or ",["code","fade"]],["td","string"],["td","scrollx"]],["tr",["td","dots"],["td","Whether to show the dots at the bottom of the gallery"],["td","boolean"],["td","true"]],["tr",["td","vertical"],["td","Whether to use a vertical display"],["td","boolean"],["td","false"]],["tr",["td","autoplay"],["td","Whether to scroll automatically"],["td","boolean"],["td","false"]],["tr",["td","easing"],["td","Transition name"],["td","string"],["td","linear"]],["tr",["td","beforeChange"],["td","Callback function called before the current index changes"],["td","function(from, to)"]],["tr",["td","afterChange"],["td","Callback function called after the current index changes"],["td","function(current)"]]]],["p","For more info on the parameters, refer to the ",["a",{title:null,href:"https://github.com/akiran/react-slick"},"https://github.com/akiran/react-slick"]]]}}});
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
webpackJsonp([188,214],{877:function(t,e){t.exports={content:["section",["p","\u65cb\u8f6c\u6728\u9a6c\uff0c\u4e00\u7ec4\u8f6e\u64ad\u7684\u533a\u57df\u3002"],["h2","\u4f55\u65f6\u4f7f\u7528"],["ul",["li",["p","\u5f53\u6709\u4e00\u7ec4\u5e73\u7ea7\u7684\u5185\u5bb9\u3002"]],["li",["p","\u5f53\u5185\u5bb9\u7a7a\u95f4\u4e0d\u8db3\u65f6\uff0c\u53ef\u4ee5\u7528\u8d70\u9a6c\u706f\u7684\u5f62\u5f0f\u8fdb\u884c\u6536\u7eb3\uff0c\u8fdb\u884c\u8f6e\u64ad\u5c55\u73b0\u3002"]],["li",["p","\u5e38\u7528\u4e8e\u4e00\u7ec4\u56fe\u7247\u6216\u5361\u7247\u8f6e\u64ad\u3002"]]]],meta:{category:"Components",type:"Data Display",title:"Carousel",subtitle:"\u8d70\u9a6c\u706f",filename:"components/carousel/index.zh-CN.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#\u4f55\u65f6\u4f7f\u7528",title:"\u4f55\u65f6\u4f7f\u7528"},"\u4f55\u65f6\u4f7f\u7528"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["table",["thead",["tr",["th","\u53c2\u6570"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","effect"],["td","\u52a8\u753b\u6548\u679c\u51fd\u6570\uff0c\u53ef\u53d6 scrollx, fade"],["td","string"],["td","scrollx"]],["tr",["td","dots"],["td","\u662f\u5426\u663e\u793a\u9762\u677f\u6307\u793a\u70b9"],["td","boolean"],["td","true"]],["tr",["td","vertical"],["td","\u5782\u76f4\u663e\u793a"],["td","boolean"],["td","false"]],["tr",["td","autoplay"],["td","\u662f\u5426\u81ea\u52a8\u5207\u6362"],["td","boolean"],["td","false"]],["tr",["td","easing"],["td","\u52a8\u753b\u6548\u679c"],["td","string"],["td","linear"]],["tr",["td","beforeChange"],["td","\u5207\u6362\u9762\u677f\u7684\u56de\u8c03"],["td","function(from, to)"],["td","\u65e0"]],["tr",["td","afterChange"],["td","\u5207\u6362\u9762\u677f\u7684\u56de\u8c03"],["td","function(current)"],["td","\u65e0"]]]],["p","\u66f4\u591a\u53c2\u6570\u53ef\u53c2\u8003\uff1a",["a",{title:null,href:"https://github.com/akiran/react-slick"},"https://github.com/akiran/react-slick"]]]}}});
webpackJsonp([188,214],{879:function(t,e){t.exports={content:["section",["p","\u65cb\u8f6c\u6728\u9a6c\uff0c\u4e00\u7ec4\u8f6e\u64ad\u7684\u533a\u57df\u3002"],["h2","\u4f55\u65f6\u4f7f\u7528"],["ul",["li",["p","\u5f53\u6709\u4e00\u7ec4\u5e73\u7ea7\u7684\u5185\u5bb9\u3002"]],["li",["p","\u5f53\u5185\u5bb9\u7a7a\u95f4\u4e0d\u8db3\u65f6\uff0c\u53ef\u4ee5\u7528\u8d70\u9a6c\u706f\u7684\u5f62\u5f0f\u8fdb\u884c\u6536\u7eb3\uff0c\u8fdb\u884c\u8f6e\u64ad\u5c55\u73b0\u3002"]],["li",["p","\u5e38\u7528\u4e8e\u4e00\u7ec4\u56fe\u7247\u6216\u5361\u7247\u8f6e\u64ad\u3002"]]]],meta:{category:"Components",type:"Data Display",title:"Carousel",subtitle:"\u8d70\u9a6c\u706f",filename:"components/carousel/index.zh-CN.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#\u4f55\u65f6\u4f7f\u7528",title:"\u4f55\u65f6\u4f7f\u7528"},"\u4f55\u65f6\u4f7f\u7528"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["table",["thead",["tr",["th","\u53c2\u6570"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","effect"],["td","\u52a8\u753b\u6548\u679c\u51fd\u6570\uff0c\u53ef\u53d6 scrollx, fade"],["td","string"],["td","scrollx"]],["tr",["td","dots"],["td","\u662f\u5426\u663e\u793a\u9762\u677f\u6307\u793a\u70b9"],["td","boolean"],["td","true"]],["tr",["td","vertical"],["td","\u5782\u76f4\u663e\u793a"],["td","boolean"],["td","false"]],["tr",["td","autoplay"],["td","\u662f\u5426\u81ea\u52a8\u5207\u6362"],["td","boolean"],["td","false"]],["tr",["td","easing"],["td","\u52a8\u753b\u6548\u679c"],["td","string"],["td","linear"]],["tr",["td","beforeChange"],["td","\u5207\u6362\u9762\u677f\u7684\u56de\u8c03"],["td","function(from, to)"],["td","\u65e0"]],["tr",["td","afterChange"],["td","\u5207\u6362\u9762\u677f\u7684\u56de\u8c03"],["td","function(current)"],["td","\u65e0"]]]],["p","\u66f4\u591a\u53c2\u6570\u53ef\u53c2\u8003\uff1a",["a",{title:null,href:"https://github.com/akiran/react-slick"},"https://github.com/akiran/react-slick"]]]}}});
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
webpackJsonp([187,214],{888:function(t,e){t.exports={content:["section",["p","Cascade selection box."],["h2","When To Use"],["ul",["li",["p","When you need to select from a set of associated data set. Such as province/city/district, company level, things classification."]],["li",["p","When selecting from a large data set, with multi-stage classification separated for easy selection."]],["li",["p","Chooses cascade items in one float layer for better user experience."]]]],meta:{category:"Components",type:"Data Entry",title:"Cascader",filename:"components/cascader/index.en-US.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#When-To-Use",title:"When To Use"},"When To Use"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["pre",{lang:"html",highlighted:'<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Cascader</span> <span class="token attr-name">options</span><span class="token attr-value"><span class="token punctuation">=</span>{options}</span> <span class="token attr-name">onChange</span><span class="token attr-value"><span class="token punctuation">=</span>{onChange}</span> <span class="token punctuation">/></span></span>'},["code","<Cascader options={options} onChange={onChange} />"]],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","options"],["td","data options of cascade"],["td","object"],["td","-"]],["tr",["td","defaultValue"],["td","initial selected value"],["td",["a",{title:null,href:"https://git.io/vMMoK"},"CascaderOptionType"],"[]"],["td","[]"]],["tr",["td","value"],["td","selected value"],["td",["a",{title:null,href:"https://git.io/vMMoK"},"CascaderOptionType"],"[]"],["td","-"]],["tr",["td","onChange"],["td","callback when finishing cascader select"],["td",["code","(value, selectedOptions) => void"]],["td","-"]],["tr",["td","displayRender"],["td","render function of displaying selected options"],["td",["code","(label, selectedOptions) => ReactNode"]],["td",["code","label => label.join(' / ')"]]],["tr",["td","style"],["td","additional style"],["td","string"],["td","-"]],["tr",["td","className"],["td","additional css class"],["td","string"],["td","-"]],["tr",["td","popupClassName"],["td","additional className of popup overlay"],["td","string"],["td","-"]],["tr",["td","popupPlacement"],["td","use preset popup align config from builtinPlacements\uff1a",["code","bottomLeft"]," ",["code","bottomRight"]," ",["code","topLeft"]," ",["code","topRight"]],["td","string"],["td",["code","bottomLeft"]]],["tr",["td","placeholder"],["td","input placeholder"],["td","string"],["td","'Please select'"]],["tr",["td","size"],["td","input size, one of ",["code","large"]," ",["code","default"]," ",["code","small"]],["td","string"],["td",["code","default"]]],["tr",["td","disabled"],["td","whether disabled select"],["td","boolean"],["td","false"]],["tr",["td","allowClear"],["td","whether allow clear"],["td","boolean"],["td","true"]],["tr",["td","expandTrigger"],["td","expand current item when click or hover, one of 'click' 'hover'"],["td","string"],["td","'click'"]],["tr",["td","changeOnSelect"],["td","change value on each selection if set to true, see above demo for details"],["td","boolean"],["td","false"]],["tr",["td","showSearch"],["td","Whether show search input in single mode."],["td","boolean","|","object"],["td","false"]],["tr",["td","notFoundContent"],["td","Specify content to show when no result matches."],["td","string"],["td","'Not Found'"]],["tr",["td","loadData"],["td","To load option lazily, and it cannot work with ",["code","showSearch"]],["td",["code","(selectedOptions) => void"]],["td","-"]],["tr",["td","getPopupContainer"],["td","Parent Node which the selector should be rendered to. Default to ",["code","body"],". When position issues happen, try to modify it into scrollable content and position it relative.",["a",{title:null,href:"http://codepen.io/anon/pen/xVBOVQ?editors=001"},"example"]],["td","Function(triggerNode)"],["td","() => document.body"]]]],["p","Fields in ",["code","showSearch"],":"],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","filter"],["td","The function will receive two arguments, inputValue and option, if the function returns true, the option will be included in the filtered set; Otherwise, it will be excluded."],["td",["code","function(inputValue, path): boolean"]],["td"]],["tr",["td","render"],["td","Used to render filtered options."],["td",["code","function(inputValue, path): ReactNode"]],["td"]],["tr",["td","sort"],["td","Used to sort filtered options."],["td",["code","function(a, b, inputValue)"]],["td"]],["tr",["td","matchInputWidth"],["td","Whether the width of result list equals to input's"],["td","boolean"],["td"]]]],["style","\n.ant-cascader-picker {\n width: 220px;\n}\n"]]}}});
webpackJsonp([187,214],{890:function(t,e){t.exports={content:["section",["p","Cascade selection box."],["h2","When To Use"],["ul",["li",["p","When you need to select from a set of associated data set. Such as province/city/district, company level, things classification."]],["li",["p","When selecting from a large data set, with multi-stage classification separated for easy selection."]],["li",["p","Chooses cascade items in one float layer for better user experience."]]]],meta:{category:"Components",type:"Data Entry",title:"Cascader",filename:"components/cascader/index.en-US.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#When-To-Use",title:"When To Use"},"When To Use"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["pre",{lang:"html",highlighted:'<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>Cascader</span> <span class="token attr-name">options</span><span class="token attr-value"><span class="token punctuation">=</span>{options}</span> <span class="token attr-name">onChange</span><span class="token attr-value"><span class="token punctuation">=</span>{onChange}</span> <span class="token punctuation">/></span></span>'},["code","<Cascader options={options} onChange={onChange} />"]],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","options"],["td","data options of cascade"],["td","object"],["td","-"]],["tr",["td","defaultValue"],["td","initial selected value"],["td",["a",{title:null,href:"https://git.io/vMMoK"},"CascaderOptionType"],"[]"],["td","[]"]],["tr",["td","value"],["td","selected value"],["td",["a",{title:null,href:"https://git.io/vMMoK"},"CascaderOptionType"],"[]"],["td","-"]],["tr",["td","onChange"],["td","callback when finishing cascader select"],["td",["code","(value, selectedOptions) => void"]],["td","-"]],["tr",["td","displayRender"],["td","render function of displaying selected options"],["td",["code","(label, selectedOptions) => ReactNode"]],["td",["code","label => label.join(' / ')"]]],["tr",["td","style"],["td","additional style"],["td","string"],["td","-"]],["tr",["td","className"],["td","additional css class"],["td","string"],["td","-"]],["tr",["td","popupClassName"],["td","additional className of popup overlay"],["td","string"],["td","-"]],["tr",["td","popupPlacement"],["td","use preset popup align config from builtinPlacements\uff1a",["code","bottomLeft"]," ",["code","bottomRight"]," ",["code","topLeft"]," ",["code","topRight"]],["td","string"],["td",["code","bottomLeft"]]],["tr",["td","placeholder"],["td","input placeholder"],["td","string"],["td","'Please select'"]],["tr",["td","size"],["td","input size, one of ",["code","large"]," ",["code","default"]," ",["code","small"]],["td","string"],["td",["code","default"]]],["tr",["td","disabled"],["td","whether disabled select"],["td","boolean"],["td","false"]],["tr",["td","allowClear"],["td","whether allow clear"],["td","boolean"],["td","true"]],["tr",["td","expandTrigger"],["td","expand current item when click or hover, one of 'click' 'hover'"],["td","string"],["td","'click'"]],["tr",["td","changeOnSelect"],["td","change value on each selection if set to true, see above demo for details"],["td","boolean"],["td","false"]],["tr",["td","showSearch"],["td","Whether show search input in single mode."],["td","boolean","|","object"],["td","false"]],["tr",["td","notFoundContent"],["td","Specify content to show when no result matches."],["td","string"],["td","'Not Found'"]],["tr",["td","loadData"],["td","To load option lazily, and it cannot work with ",["code","showSearch"]],["td",["code","(selectedOptions) => void"]],["td","-"]],["tr",["td","getPopupContainer"],["td","Parent Node which the selector should be rendered to. Default to ",["code","body"],". When position issues happen, try to modify it into scrollable content and position it relative.",["a",{title:null,href:"http://codepen.io/anon/pen/xVBOVQ?editors=001"},"example"]],["td","Function(triggerNode)"],["td","() => document.body"]]]],["p","Fields in ",["code","showSearch"],":"],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","filter"],["td","The function will receive two arguments, inputValue and option, if the function returns true, the option will be included in the filtered set; Otherwise, it will be excluded."],["td",["code","function(inputValue, path): boolean"]],["td"]],["tr",["td","render"],["td","Used to render filtered options."],["td",["code","function(inputValue, path): ReactNode"]],["td"]],["tr",["td","sort"],["td","Used to sort filtered options."],["td",["code","function(a, b, inputValue)"]],["td"]],["tr",["td","matchInputWidth"],["td","Whether the width of result list equals to input's"],["td","boolean"],["td"]]]],["style","\n.ant-cascader-picker {\n width: 220px;\n}\n"]]}}});
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
webpackJsonp([185,214],{896:function(e,t){e.exports={content:["section",["p","Checkbox."],["h2","When To Use"],["ul",["li",["p","Used for selecting multiple values from several options."]],["li",["p","If you use only one checkbox, it is the same as using Switch to toggle between two states. The difference is that Switch will trigger the state change directly, but Checkbox just marks the state as changed and this needs to be submitted."]]]],meta:{category:"Components",type:"Data Entry",title:"Checkbox",filename:"components/checkbox/index.en-US.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#When-To-Use",title:"When To Use"},"When To Use"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["h3","Checkbox"],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","checked"],["td","Specifies whether the checkbox is selected."],["td","boolean"],["td","false"]],["tr",["td","defaultChecked"],["td","Specifies the initial state: whether or not the checkbox is selected."],["td","boolean"],["td","false"]],["tr",["td","onChange"],["td","The callback function that is triggered when the state changes."],["td","Function(e:Event)"],["td","-"]]]],["h3","Checkbox Group"],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","defaultValue"],["td","Default selected value"],["td","string[]"],["td","[]"]],["tr",["td","value"],["td","Used for setting the currently selected value."],["td","string[]"],["td","[]"]],["tr",["td","options"],["td","Specifies options"],["td","string[]"],["td","[]"]],["tr",["td","onChange"],["td","The callback function that is triggered when the state changes."],["td","Function(checkedValue)"],["td","-"]]]]]}}});
webpackJsonp([185,214],{898:function(e,t){e.exports={content:["section",["p","Checkbox."],["h2","When To Use"],["ul",["li",["p","Used for selecting multiple values from several options."]],["li",["p","If you use only one checkbox, it is the same as using Switch to toggle between two states. The difference is that Switch will trigger the state change directly, but Checkbox just marks the state as changed and this needs to be submitted."]]]],meta:{category:"Components",type:"Data Entry",title:"Checkbox",filename:"components/checkbox/index.en-US.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#When-To-Use",title:"When To Use"},"When To Use"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["h3","Checkbox"],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","checked"],["td","Specifies whether the checkbox is selected."],["td","boolean"],["td","false"]],["tr",["td","defaultChecked"],["td","Specifies the initial state: whether or not the checkbox is selected."],["td","boolean"],["td","false"]],["tr",["td","onChange"],["td","The callback function that is triggered when the state changes."],["td","Function(e:Event)"],["td","-"]]]],["h3","Checkbox Group"],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","defaultValue"],["td","Default selected value"],["td","string[]"],["td","[]"]],["tr",["td","value"],["td","Used for setting the currently selected value."],["td","string[]"],["td","[]"]],["tr",["td","options"],["td","Specifies options"],["td","string[]"],["td","[]"]],["tr",["td","onChange"],["td","The callback function that is triggered when the state changes."],["td","Function(checkedValue)"],["td","-"]]]]]}}});
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
webpackJsonp([184,214],{897:function(t,e){t.exports={content:["section",["p","\u591a\u9009\u6846\u3002"],["h2","\u4f55\u65f6\u4f7f\u7528"],["ul",["li",["p","\u5728\u4e00\u7ec4\u53ef\u9009\u9879\u4e2d\u8fdb\u884c\u591a\u9879\u9009\u62e9\u65f6\uff1b"]],["li",["p","\u5355\u72ec\u4f7f\u7528\u53ef\u4ee5\u8868\u793a\u4e24\u79cd\u72b6\u6001\u4e4b\u95f4\u7684\u5207\u6362\uff0c\u548c ",["code","switch"]," \u7c7b\u4f3c\u3002\u533a\u522b\u5728\u4e8e\u5207\u6362 ",["code","switch"]," \u4f1a\u76f4\u63a5\u89e6\u53d1\u72b6\u6001\u6539\u53d8\uff0c\u800c ",["code","checkbox"]," \u4e00\u822c\u7528\u4e8e\u72b6\u6001\u6807\u8bb0\uff0c\u9700\u8981\u548c\u63d0\u4ea4\u64cd\u4f5c\u914d\u5408\u3002"]]]],meta:{category:"Components",subtitle:"\u591a\u9009\u6846",type:"Data Entry",title:"Checkbox",filename:"components/checkbox/index.zh-CN.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#\u4f55\u65f6\u4f7f\u7528",title:"\u4f55\u65f6\u4f7f\u7528"},"\u4f55\u65f6\u4f7f\u7528"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["h3","Checkbox"],["table",["thead",["tr",["th","\u53c2\u6570"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","checked"],["td","\u6307\u5b9a\u5f53\u524d\u662f\u5426\u9009\u4e2d"],["td","boolean"],["td","false"]],["tr",["td","defaultChecked"],["td","\u521d\u59cb\u662f\u5426\u9009\u4e2d"],["td","boolean"],["td","false"]],["tr",["td","onChange"],["td","\u53d8\u5316\u65f6\u56de\u8c03\u51fd\u6570"],["td","Function(e:Event)"],["td","-"]],["tr",["td","indeterminate"],["td","\u8bbe\u7f6e indeterminate \u72b6\u6001\uff0c\u53ea\u8d1f\u8d23\u6837\u5f0f\u63a7\u5236"],["td","boolean"],["td","false"]]]],["h3","Checkbox Group"],["table",["thead",["tr",["th","\u53c2\u6570"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","defaultValue"],["td","\u9ed8\u8ba4\u9009\u4e2d\u7684\u9009\u9879"],["td","string[]"],["td","[]"]],["tr",["td","value"],["td","\u6307\u5b9a\u9009\u4e2d\u7684\u9009\u9879"],["td","string[]"],["td","[]"]],["tr",["td","options"],["td","\u6307\u5b9a\u53ef\u9009\u9879"],["td","string[]"],["td","[]"]],["tr",["td","onChange"],["td","\u53d8\u5316\u65f6\u56de\u8c03\u51fd\u6570"],["td","Function(checkedValue)"],["td","-"]]]]]}}});
webpackJsonp([184,214],{899:function(t,e){t.exports={content:["section",["p","\u591a\u9009\u6846\u3002"],["h2","\u4f55\u65f6\u4f7f\u7528"],["ul",["li",["p","\u5728\u4e00\u7ec4\u53ef\u9009\u9879\u4e2d\u8fdb\u884c\u591a\u9879\u9009\u62e9\u65f6\uff1b"]],["li",["p","\u5355\u72ec\u4f7f\u7528\u53ef\u4ee5\u8868\u793a\u4e24\u79cd\u72b6\u6001\u4e4b\u95f4\u7684\u5207\u6362\uff0c\u548c ",["code","switch"]," \u7c7b\u4f3c\u3002\u533a\u522b\u5728\u4e8e\u5207\u6362 ",["code","switch"]," \u4f1a\u76f4\u63a5\u89e6\u53d1\u72b6\u6001\u6539\u53d8\uff0c\u800c ",["code","checkbox"]," \u4e00\u822c\u7528\u4e8e\u72b6\u6001\u6807\u8bb0\uff0c\u9700\u8981\u548c\u63d0\u4ea4\u64cd\u4f5c\u914d\u5408\u3002"]]]],meta:{category:"Components",subtitle:"\u591a\u9009\u6846",type:"Data Entry",title:"Checkbox",filename:"components/checkbox/index.zh-CN.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#\u4f55\u65f6\u4f7f\u7528",title:"\u4f55\u65f6\u4f7f\u7528"},"\u4f55\u65f6\u4f7f\u7528"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["h3","Checkbox"],["table",["thead",["tr",["th","\u53c2\u6570"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","checked"],["td","\u6307\u5b9a\u5f53\u524d\u662f\u5426\u9009\u4e2d"],["td","boolean"],["td","false"]],["tr",["td","defaultChecked"],["td","\u521d\u59cb\u662f\u5426\u9009\u4e2d"],["td","boolean"],["td","false"]],["tr",["td","onChange"],["td","\u53d8\u5316\u65f6\u56de\u8c03\u51fd\u6570"],["td","Function(e:Event)"],["td","-"]],["tr",["td","indeterminate"],["td","\u8bbe\u7f6e indeterminate \u72b6\u6001\uff0c\u53ea\u8d1f\u8d23\u6837\u5f0f\u63a7\u5236"],["td","boolean"],["td","false"]]]],["h3","Checkbox Group"],["table",["thead",["tr",["th","\u53c2\u6570"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","defaultValue"],["td","\u9ed8\u8ba4\u9009\u4e2d\u7684\u9009\u9879"],["td","string[]"],["td","[]"]],["tr",["td","value"],["td","\u6307\u5b9a\u9009\u4e2d\u7684\u9009\u9879"],["td","string[]"],["td","[]"]],["tr",["td","options"],["td","\u6307\u5b9a\u53ef\u9009\u9879"],["td","string[]"],["td","[]"]],["tr",["td","onChange"],["td","\u53d8\u5316\u65f6\u56de\u8c03\u51fd\u6570"],["td","Function(checkedValue)"],["td","-"]]]]]}}});
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
webpackJsonp([183,214],{903:function(e,t){e.exports={content:["section",["p","A content area which can be collapsed and expanded."],["h2","When To Use"],["ul",["li",["p","Can be used to group or hide complex regions to keep the page clean."]],["li",["p",["code","Accordion"]," is a special kind of ",["code","Collapse"],", which allows only one panel to be expanded at a time."]]]],meta:{category:"Components",type:"Data Display",title:"Collapse",cols:1,filename:"components/collapse/index.en-US.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#When-To-Use",title:"When To Use"},"When To Use"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["h3","Collapse"],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","activeKey"],["td","key of the active panel"],["td","string[]","|","string"],["td","No default value. In ",["code","accordion"]," mode, it's the key of the first panel."]],["tr",["td","defaultActiveKey"],["td","key of the initialized active panel"],["td","string"],["td","-"]],["tr",["td","onChange"],["td","a callback function, which can be executed when you switch the panels"],["td","Function"],["td","-"]]]],["h3","Collapse.Panel"],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","key"],["td","corresponds to the ",["code","activeKey"]],["td","string"],["td","-"]],["tr",["td","header"],["td","title of the panel"],["td","string","|","ReactNode"],["td","-"]],["tr",["td","disabled"],["td","users cannot change opening status of a disabled panel"],["td","boolean"],["td","false"]]]]]}}});
webpackJsonp([183,214],{905:function(e,t){e.exports={content:["section",["p","A content area which can be collapsed and expanded."],["h2","When To Use"],["ul",["li",["p","Can be used to group or hide complex regions to keep the page clean."]],["li",["p",["code","Accordion"]," is a special kind of ",["code","Collapse"],", which allows only one panel to be expanded at a time."]]]],meta:{category:"Components",type:"Data Display",title:"Collapse",cols:1,filename:"components/collapse/index.en-US.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#When-To-Use",title:"When To Use"},"When To Use"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["h3","Collapse"],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","activeKey"],["td","key of the active panel"],["td","string[]","|","string"],["td","No default value. In ",["code","accordion"]," mode, it's the key of the first panel."]],["tr",["td","defaultActiveKey"],["td","key of the initialized active panel"],["td","string"],["td","-"]],["tr",["td","onChange"],["td","a callback function, which can be executed when you switch the panels"],["td","Function"],["td","-"]]]],["h3","Collapse.Panel"],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","key"],["td","corresponds to the ",["code","activeKey"]],["td","string"],["td","-"]],["tr",["td","header"],["td","title of the panel"],["td","string","|","ReactNode"],["td","-"]],["tr",["td","disabled"],["td","users cannot change opening status of a disabled panel"],["td","boolean"],["td","false"]]]]]}}});
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
webpackJsonp([182,214],{904:function(t,e){t.exports={content:["section",["p","\u53ef\u4ee5\u6298\u53e0/\u5c55\u5f00\u7684\u5185\u5bb9\u533a\u57df\u3002"],["h2","\u4f55\u65f6\u4f7f\u7528"],["ul",["li",["p","\u5bf9\u590d\u6742\u533a\u57df\u8fdb\u884c\u5206\u7ec4\u548c\u9690\u85cf\uff0c\u4fdd\u6301\u9875\u9762\u7684\u6574\u6d01\u3002"]],["li",["p",["code","\u624b\u98ce\u7434"]," \u662f\u4e00\u79cd\u7279\u6b8a\u7684\u6298\u53e0\u9762\u677f\uff0c\u53ea\u5141\u8bb8\u5355\u4e2a\u5185\u5bb9\u533a\u57df\u5c55\u5f00\u3002"]]]],meta:{category:"Components",type:"Data Display",title:"Collapse",subtitle:"\u6298\u53e0\u9762\u677f",cols:1,filename:"components/collapse/index.zh-CN.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#\u4f55\u65f6\u4f7f\u7528",title:"\u4f55\u65f6\u4f7f\u7528"},"\u4f55\u65f6\u4f7f\u7528"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["h3","Collapse"],["table",["thead",["tr",["th","\u53c2\u6570"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","activeKey"],["td","\u5f53\u524d\u6fc0\u6d3b tab \u9762\u677f\u7684 key"],["td","string[]","|","string"],["td","\u9ed8\u8ba4\u65e0\uff0caccordion\u6a21\u5f0f\u4e0b\u9ed8\u8ba4\u7b2c\u4e00\u4e2a\u5143\u7d20"]],["tr",["td","defaultActiveKey"],["td","\u521d\u59cb\u5316\u9009\u4e2d\u9762\u677f\u7684 key"],["td","string"],["td","\u65e0"]],["tr",["td","onChange"],["td","\u5207\u6362\u9762\u677f\u7684\u56de\u8c03"],["td","Function"],["td","\u65e0"]]]],["h3","Collapse.Panel"],["table",["thead",["tr",["th","\u53c2\u6570"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","key"],["td","\u5bf9\u5e94 activeKey"],["td","string"],["td","\u65e0"]],["tr",["td","header"],["td","\u9762\u677f\u5934\u5185\u5bb9"],["td","string","|","ReactNode"],["td","\u65e0"]],["tr",["td","disabled"],["td","\u7981\u7528\u540e\u7684\u9762\u677f\u5c55\u5f00\u4e0e\u5426\u5c06\u65e0\u6cd5\u901a\u8fc7\u7528\u6237\u4ea4\u4e92\u6539\u53d8"],["td","boolean"],["td","false"]]]]]}}});
webpackJsonp([182,214],{906:function(t,e){t.exports={content:["section",["p","\u53ef\u4ee5\u6298\u53e0/\u5c55\u5f00\u7684\u5185\u5bb9\u533a\u57df\u3002"],["h2","\u4f55\u65f6\u4f7f\u7528"],["ul",["li",["p","\u5bf9\u590d\u6742\u533a\u57df\u8fdb\u884c\u5206\u7ec4\u548c\u9690\u85cf\uff0c\u4fdd\u6301\u9875\u9762\u7684\u6574\u6d01\u3002"]],["li",["p",["code","\u624b\u98ce\u7434"]," \u662f\u4e00\u79cd\u7279\u6b8a\u7684\u6298\u53e0\u9762\u677f\uff0c\u53ea\u5141\u8bb8\u5355\u4e2a\u5185\u5bb9\u533a\u57df\u5c55\u5f00\u3002"]]]],meta:{category:"Components",type:"Data Display",title:"Collapse",subtitle:"\u6298\u53e0\u9762\u677f",cols:1,filename:"components/collapse/index.zh-CN.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#\u4f55\u65f6\u4f7f\u7528",title:"\u4f55\u65f6\u4f7f\u7528"},"\u4f55\u65f6\u4f7f\u7528"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["h3","Collapse"],["table",["thead",["tr",["th","\u53c2\u6570"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","activeKey"],["td","\u5f53\u524d\u6fc0\u6d3b tab \u9762\u677f\u7684 key"],["td","string[]","|","string"],["td","\u9ed8\u8ba4\u65e0\uff0caccordion\u6a21\u5f0f\u4e0b\u9ed8\u8ba4\u7b2c\u4e00\u4e2a\u5143\u7d20"]],["tr",["td","defaultActiveKey"],["td","\u521d\u59cb\u5316\u9009\u4e2d\u9762\u677f\u7684 key"],["td","string"],["td","\u65e0"]],["tr",["td","onChange"],["td","\u5207\u6362\u9762\u677f\u7684\u56de\u8c03"],["td","Function"],["td","\u65e0"]]]],["h3","Collapse.Panel"],["table",["thead",["tr",["th","\u53c2\u6570"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","key"],["td","\u5bf9\u5e94 activeKey"],["td","string"],["td","\u65e0"]],["tr",["td","header"],["td","\u9762\u677f\u5934\u5185\u5bb9"],["td","string","|","ReactNode"],["td","\u65e0"]],["tr",["td","disabled"],["td","\u7981\u7528\u540e\u7684\u9762\u677f\u5c55\u5f00\u4e0e\u5426\u5c06\u65e0\u6cd5\u901a\u8fc7\u7528\u6237\u4ea4\u4e92\u6539\u53d8"],["td","boolean"],["td","false"]]]]]}}});
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
webpackJsonp([179,214],{924:function(t,e){t.exports={content:["section",["p","A dropdown list."],["h2","When To Use"],["p","If there are too many operations to display, you can wrap them in a ",["code","Dropdown"],". By clicking/hovering on the trigger, a dropdown menu should appear, which allows you to choose one option and execute relevant actions."]],meta:{category:"Components",type:"Navigation",title:"Dropdown",filename:"components/dropdown/index.en-US.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#When-To-Use",title:"When To Use"},"When To Use"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["h3","Dropdown"],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","trigger"],["td","the trigger mode which can execute the drop-down action"],["td","Array<'click'","|","'hover'>"],["td","['hover']"]],["tr",["td","overlay"],["td","the dropdown menu"],["td",["a",{title:null,href:"/components/menu"},"Menu"]],["td","-"]],["tr",["td","getPopupContainer"],["td","to set the container of the dropdown menu. The default is to create a ",["code","div"]," element in ",["code","body"],", you can reset it to the scrolling area and make a relative reposition. ",["a",{title:null,href:"http://codepen.io/anon/pen/xVBOVQ?editors=001"},"example"]],["td","Function(triggerNode)"],["td","() => document.body"]],["tr",["td","visible"],["td","determine whether the dropdown menu is visible"],["td","boolean"],["td","-"]],["tr",["td","onVisibleChange"],["td","a callback function takes an argument: ",["code","visible"],", can be executed when the visible state is changing"],["td","Function(visible)"],["td","-"]],["tr",["td","placement"],["td","placement of pop menu: ",["code","bottomLeft"]," ",["code","bottomCenter"]," ",["code","bottomRight"]," ",["code","topLeft"]," ",["code","topCenter"]," ",["code","topRight"]],["td","String"],["td",["code","bottomLeft"]]]]],["p","You can get the menu list by ",["code","antd.Menu"],", and set a callback function ",["code","onSelect"]," for it if you need. The menu items and the dividers are also available, by using ",["code","antd.Menu.Item"]," and ",["code","antd.Menu.Divider"]," respectively."],["blockquote",["p","Warning: You must set a unique ",["code","key"]," for ",["code","Menu.Item"],"."]],["h3","Dropdown.Button"],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","type"],["td","type of the button, the same as ",["a",{title:null,href:"/components/button"},"Button"]],["td","string"],["td","'default'"]],["tr",["td","onClick"],["td","a callback function, the same as ",["a",{title:null,href:"/components/button"},"Button"],", which will be executed when you click the button on the left"],["td","Function"],["td","-"]],["tr",["td","trigger"],["td","the trigger mode which can execute the drop-down action"],["td","Array<'click'","|","'hover'>"],["td","['hover']"]],["tr",["td","overlay"],["td","the dropdown menu"],["td",["a",{title:null,href:"/components/menu"},"Menu"]],["td","-"]],["tr",["td","visible"],["td","determine whether the dropdown menu is visible"],["td","boolean"],["td","-"]],["tr",["td","onVisibleChange"],["td","a callback function takes an argument: ",["code","visible"],", can be executed when the visible state is changing"],["td","Function"],["td","-"]],["tr",["td","placement"],["td","placement of pop menu: ",["code","bottomLeft"]," ",["code","bottomCenter"]," ",["code","bottomRight"]," ",["code","topLeft"]," ",["code","topCenter"]," ",["code","topRight"]],["td","String"],["td",["code","bottomLeft"]]]]]]}}});
webpackJsonp([179,214],{926:function(t,e){t.exports={content:["section",["p","A dropdown list."],["h2","When To Use"],["p","If there are too many operations to display, you can wrap them in a ",["code","Dropdown"],". By clicking/hovering on the trigger, a dropdown menu should appear, which allows you to choose one option and execute relevant actions."]],meta:{category:"Components",type:"Navigation",title:"Dropdown",filename:"components/dropdown/index.en-US.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#When-To-Use",title:"When To Use"},"When To Use"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["h3","Dropdown"],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","trigger"],["td","the trigger mode which can execute the drop-down action"],["td","Array<'click'","|","'hover'>"],["td",["span","'hover'"]]],["tr",["td","overlay"],["td","the dropdown menu"],["td",["a",{title:null,href:"/components/menu"},"Menu"]],["td","-"]],["tr",["td","getPopupContainer"],["td","to set the container of the dropdown menu. The default is to create a ",["code","div"]," element in ",["code","body"],", you can reset it to the scrolling area and make a relative reposition. ",["a",{title:null,href:"http://codepen.io/anon/pen/xVBOVQ?editors=001"},"example"]],["td","Function(triggerNode)"],["td","() => document.body"]],["tr",["td","visible"],["td","determine whether the dropdown menu is visible"],["td","boolean"],["td","-"]],["tr",["td","onVisibleChange"],["td","a callback function takes an argument: ",["code","visible"],", can be executed when the visible state is changing"],["td","Function(visible)"],["td","-"]],["tr",["td","placement"],["td","placement of pop menu: ",["code","bottomLeft"]," ",["code","bottomCenter"]," ",["code","bottomRight"]," ",["code","topLeft"]," ",["code","topCenter"]," ",["code","topRight"]],["td","String"],["td",["code","bottomLeft"]]]]],["p","You can get the menu list by ",["code","antd.Menu"],", and set a callback function ",["code","onSelect"]," for it if you need. The menu items and the dividers are also available, by using ",["code","antd.Menu.Item"]," and ",["code","antd.Menu.Divider"]," respectively."],["blockquote",["p","Warning: You must set a unique ",["code","key"]," for ",["code","Menu.Item"],"."]],["h3","Dropdown.Button"],["table",["thead",["tr",["th","Property"],["th","Description"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","type"],["td","type of the button, the same as ",["a",{title:null,href:"/components/button"},"Button"]],["td","string"],["td","'default'"]],["tr",["td","onClick"],["td","a callback function, the same as ",["a",{title:null,href:"/components/button"},"Button"],", which will be executed when you click the button on the left"],["td","Function"],["td","-"]],["tr",["td","trigger"],["td","the trigger mode which can execute the drop-down action"],["td","Array<'click'","|","'hover'>"],["td",["span","'hover'"]]],["tr",["td","overlay"],["td","the dropdown menu"],["td",["a",{title:null,href:"/components/menu"},"Menu"]],["td","-"]],["tr",["td","visible"],["td","determine whether the dropdown menu is visible"],["td","boolean"],["td","-"]],["tr",["td","onVisibleChange"],["td","a callback function takes an argument: ",["code","visible"],", can be executed when the visible state is changing"],["td","Function"],["td","-"]],["tr",["td","placement"],["td","placement of pop menu: ",["code","bottomLeft"]," ",["code","bottomCenter"]," ",["code","bottomRight"]," ",["code","topLeft"]," ",["code","topCenter"]," ",["code","topRight"]],["td","String"],["td",["code","bottomLeft"]]]]]]}}});
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
webpackJsonp([178,214],{925:function(t,e){t.exports={content:["section",["p","\u5411\u4e0b\u5f39\u51fa\u7684\u5217\u8868\u3002"],["h2","\u4f55\u65f6\u4f7f\u7528"],["p","\u5f53\u9875\u9762\u4e0a\u7684\u64cd\u4f5c\u547d\u4ee4\u8fc7\u591a\u65f6\uff0c\u7528\u6b64\u7ec4\u4ef6\u53ef\u4ee5\u6536\u7eb3\u64cd\u4f5c\u5143\u7d20\u3002\u70b9\u51fb\u6216\u79fb\u5165\u89e6\u70b9\uff0c\u4f1a\u51fa\u73b0\u4e00\u4e2a\u4e0b\u62c9\u83dc\u5355\u3002\u53ef\u5728\u5217\u8868\u4e2d\u8fdb\u884c\u9009\u62e9\uff0c\u5e76\u6267\u884c\u76f8\u5e94\u7684\u547d\u4ee4\u3002"]],meta:{category:"Components",subtitle:"\u4e0b\u62c9\u83dc\u5355",type:"Navigation",title:"Dropdown",filename:"components/dropdown/index.zh-CN.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#\u4f55\u65f6\u4f7f\u7528",title:"\u4f55\u65f6\u4f7f\u7528"},"\u4f55\u65f6\u4f7f\u7528"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["p","\u5c5e\u6027\u5982\u4e0b"],["table",["thead",["tr",["th","\u53c2\u6570"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","trigger"],["td","\u89e6\u53d1\u4e0b\u62c9\u7684\u884c\u4e3a"],["td","Array<'click'","|","'hover'>"],["td","['hover']"]],["tr",["td","overlay"],["td","\u83dc\u5355"],["td",["a",{title:null,href:"/components/menu"},"Menu"]],["td","-"]],["tr",["td","getPopupContainer"],["td","\u83dc\u5355\u6e32\u67d3\u7236\u8282\u70b9\u3002\u9ed8\u8ba4\u6e32\u67d3\u5230 body \u4e0a\uff0c\u5982\u679c\u4f60\u9047\u5230\u83dc\u5355\u6eda\u52a8\u5b9a\u4f4d\u95ee\u9898\uff0c\u8bd5\u8bd5\u4fee\u6539\u4e3a\u6eda\u52a8\u7684\u533a\u57df\uff0c\u5e76\u76f8\u5bf9\u5176\u5b9a\u4f4d\u3002",["a",{title:null,href:"http://codepen.io/anon/pen/xVBOVQ?editors=001"},"\u793a\u4f8b"]],["td","Function(triggerNode)"],["td","() => document.body"]],["tr",["td","visible"],["td","\u83dc\u5355\u662f\u5426\u663e\u793a"],["td","boolean"],["td","-"]],["tr",["td","onVisibleChange"],["td","\u83dc\u5355\u663e\u793a\u72b6\u6001\u6539\u53d8\u65f6\u8c03\u7528\uff0c\u53c2\u6570\u4e3a visible"],["td","Function(visible)"],["td","-"]],["tr",["td","placement"],["td","\u83dc\u5355\u5f39\u51fa\u4f4d\u7f6e\uff1a",["code","bottomLeft"]," ",["code","bottomCenter"]," ",["code","bottomRight"]," ",["code","topLeft"]," ",["code","topCenter"]," ",["code","topRight"]],["td","String"],["td",["code","bottomLeft"]]]]],["p","\u83dc\u5355\u53ef\u7531 ",["code","antd.Menu"]," \u53d6\u5f97\uff0c\u53ef\u8bbe\u7f6e ",["code","onSelect"]," \u56de\u8c03\uff0c\u83dc\u5355\u8fd8\u5305\u62ec\u83dc\u5355\u9879 ",["code","antd.Menu.Item"],"\uff0c\u5206\u5272\u7ebf ",["code","antd.Menu.Divider"],"\u3002"],["blockquote",["p","\u6ce8\u610f\uff1a Menu.Item \u5fc5\u987b\u8bbe\u7f6e\u552f\u4e00\u7684 key \u5c5e\u6027\u3002"]],["h3","Dropdown.Button"],["table",["thead",["tr",["th","\u53c2\u6570"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","type"],["td","\u6309\u94ae\u7c7b\u578b\uff0c\u548c ",["a",{title:null,href:"/components/button/"},"Button"]," \u4e00\u81f4"],["td","string"],["td","'default'"]],["tr",["td","onClick"],["td","\u70b9\u51fb\u5de6\u4fa7\u6309\u94ae\u7684\u56de\u8c03\uff0c\u548c ",["a",{title:null,href:"/components/button/"},"Button"]," \u4e00\u81f4"],["td","Function"],["td","-"]],["tr",["td","trigger"],["td","\u89e6\u53d1\u4e0b\u62c9\u7684\u884c\u4e3a"],["td","Array<'click'","|","'hover'>"],["td","['hover']"]],["tr",["td","overlay"],["td","\u83dc\u5355"],["td",["a",{title:null,href:"/components/menu/"},"Menu"]],["td","-"]],["tr",["td","visible"],["td","\u83dc\u5355\u662f\u5426\u663e\u793a"],["td","boolean"],["td","-"]],["tr",["td","onVisibleChange"],["td","\u83dc\u5355\u663e\u793a\u72b6\u6001\u6539\u53d8\u65f6\u8c03\u7528\uff0c\u53c2\u6570\u4e3a visible"],["td","Function"],["td","-"]],["tr",["td","placement"],["td","\u83dc\u5355\u5f39\u51fa\u4f4d\u7f6e\uff1a",["code","bottomLeft"]," ",["code","bottomCenter"]," ",["code","bottomRight"]," ",["code","topLeft"]," ",["code","topCenter"]," ",["code","topRight"]],["td","String"],["td",["code","bottomLeft"]]]]]]}}});
webpackJsonp([178,214],{927:function(t,e){t.exports={content:["section",["p","\u5411\u4e0b\u5f39\u51fa\u7684\u5217\u8868\u3002"],["h2","\u4f55\u65f6\u4f7f\u7528"],["p","\u5f53\u9875\u9762\u4e0a\u7684\u64cd\u4f5c\u547d\u4ee4\u8fc7\u591a\u65f6\uff0c\u7528\u6b64\u7ec4\u4ef6\u53ef\u4ee5\u6536\u7eb3\u64cd\u4f5c\u5143\u7d20\u3002\u70b9\u51fb\u6216\u79fb\u5165\u89e6\u70b9\uff0c\u4f1a\u51fa\u73b0\u4e00\u4e2a\u4e0b\u62c9\u83dc\u5355\u3002\u53ef\u5728\u5217\u8868\u4e2d\u8fdb\u884c\u9009\u62e9\uff0c\u5e76\u6267\u884c\u76f8\u5e94\u7684\u547d\u4ee4\u3002"]],meta:{category:"Components",subtitle:"\u4e0b\u62c9\u83dc\u5355",type:"Navigation",title:"Dropdown",filename:"components/dropdown/index.zh-CN.md"},toc:["ul",["li",["a",{className:"bisheng-toc-h2",href:"#\u4f55\u65f6\u4f7f\u7528",title:"\u4f55\u65f6\u4f7f\u7528"},"\u4f55\u65f6\u4f7f\u7528"]],["li",["a",{className:"bisheng-toc-h2",href:"#API",title:"API"},"API"]]],api:["section",["h2","API"],["p","\u5c5e\u6027\u5982\u4e0b"],["table",["thead",["tr",["th","\u53c2\u6570"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","trigger"],["td","\u89e6\u53d1\u4e0b\u62c9\u7684\u884c\u4e3a"],["td","Array<'click'","|","'hover'>"],["td",["span","'hover'"]]],["tr",["td","overlay"],["td","\u83dc\u5355"],["td",["a",{title:null,href:"/components/menu"},"Menu"]],["td","-"]],["tr",["td","getPopupContainer"],["td","\u83dc\u5355\u6e32\u67d3\u7236\u8282\u70b9\u3002\u9ed8\u8ba4\u6e32\u67d3\u5230 body \u4e0a\uff0c\u5982\u679c\u4f60\u9047\u5230\u83dc\u5355\u6eda\u52a8\u5b9a\u4f4d\u95ee\u9898\uff0c\u8bd5\u8bd5\u4fee\u6539\u4e3a\u6eda\u52a8\u7684\u533a\u57df\uff0c\u5e76\u76f8\u5bf9\u5176\u5b9a\u4f4d\u3002",["a",{title:null,href:"http://codepen.io/anon/pen/xVBOVQ?editors=001"},"\u793a\u4f8b"]],["td","Function(triggerNode)"],["td","() => document.body"]],["tr",["td","visible"],["td","\u83dc\u5355\u662f\u5426\u663e\u793a"],["td","boolean"],["td","-"]],["tr",["td","onVisibleChange"],["td","\u83dc\u5355\u663e\u793a\u72b6\u6001\u6539\u53d8\u65f6\u8c03\u7528\uff0c\u53c2\u6570\u4e3a visible"],["td","Function(visible)"],["td","-"]],["tr",["td","placement"],["td","\u83dc\u5355\u5f39\u51fa\u4f4d\u7f6e\uff1a",["code","bottomLeft"]," ",["code","bottomCenter"]," ",["code","bottomRight"]," ",["code","topLeft"]," ",["code","topCenter"]," ",["code","topRight"]],["td","String"],["td",["code","bottomLeft"]]]]],["p","\u83dc\u5355\u53ef\u7531 ",["code","antd.Menu"]," \u53d6\u5f97\uff0c\u53ef\u8bbe\u7f6e ",["code","onSelect"]," \u56de\u8c03\uff0c\u83dc\u5355\u8fd8\u5305\u62ec\u83dc\u5355\u9879 ",["code","antd.Menu.Item"],"\uff0c\u5206\u5272\u7ebf ",["code","antd.Menu.Divider"],"\u3002"],["blockquote",["p","\u6ce8\u610f\uff1a Menu.Item \u5fc5\u987b\u8bbe\u7f6e\u552f\u4e00\u7684 key \u5c5e\u6027\u3002"]],["h3","Dropdown.Button"],["table",["thead",["tr",["th","\u53c2\u6570"],["th","\u8bf4\u660e"],["th","\u7c7b\u578b"],["th","\u9ed8\u8ba4\u503c"]]],["tbody",["tr",["td","type"],["td","\u6309\u94ae\u7c7b\u578b\uff0c\u548c ",["a",{title:null,href:"/components/button/"},"Button"]," \u4e00\u81f4"],["td","string"],["td","'default'"]],["tr",["td","onClick"],["td","\u70b9\u51fb\u5de6\u4fa7\u6309\u94ae\u7684\u56de\u8c03\uff0c\u548c ",["a",{title:null,href:"/components/button/"},"Button"]," \u4e00\u81f4"],["td","Function"],["td","-"]],["tr",["td","trigger"],["td","\u89e6\u53d1\u4e0b\u62c9\u7684\u884c\u4e3a"],["td","Array<'click'","|","'hover'>"],["td",["span","'hover'"]]],["tr",["td","overlay"],["td","\u83dc\u5355"],["td",["a",{title:null,href:"/components/menu/"},"Menu"]],["td","-"]],["tr",["td","visible"],["td","\u83dc\u5355\u662f\u5426\u663e\u793a"],["td","boolean"],["td","-"]],["tr",["td","onVisibleChange"],["td","\u83dc\u5355\u663e\u793a\u72b6\u6001\u6539\u53d8\u65f6\u8c03\u7528\uff0c\u53c2\u6570\u4e3a visible"],["td","Function"],["td","-"]],["tr",["td","placement"],["td","\u83dc\u5355\u5f39\u51fa\u4f4d\u7f6e\uff1a",["code","bottomLeft"]," ",["code","bottomCenter"]," ",["code","bottomRight"]," ",["code","topLeft"]," ",["code","topCenter"]," ",["code","topRight"]],["td","String"],["td",["code","bottomLeft"]]]]]]}}});
File diff suppressed because one or more lines are too long
+10 -10
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More