-
Notifications
You must be signed in to change notification settings - Fork 0
/
44-a28f22da2d828c0b81f9.js
1 lines (1 loc) · 58 KB
/
44-a28f22da2d828c0b81f9.js
1
webpackJsonp([44],{1639:function(n,s,a){"use strict";function t(n){return n&&n.__esModule?n:{default:n}}function p(n){return y.default.createElement(n.tag,(0,u.default)({},n.attributes,{dangerouslySetInnerHTML:{__html:n.html}}))}function e(n){return y.default.createElement(p,{tag:"section",html:n.html,attributes:{className:"zandoc-react-markdown"}})}function o(n){return y.default.createElement(p,{tag:"style",html:n.style})}function c(n,s){for(;n;)return n.offsetTop&&"static"!==getComputedStyle(n).position&&(s+=n.offsetTop),c(n.parentNode,s);return s}Object.defineProperty(s,"__esModule",{value:!0});var l=a(7),u=t(l),r=a(1),k=t(r),i=a(4),d=t(i),g=a(2),m=t(g),f=a(3),v=t(f),h=a(0),y=t(h),C=a(232),b=t(C),P=a(359),j=function(){var n=function(n){function s(){return(0,k.default)(this,s),(0,m.default)(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments))}return(0,v.default)(s,n),(0,d.default)(s,[{key:"render",value:function(){return y.default.createElement("div",null,y.default.createElement(P.Progress,null),y.default.createElement(P.Progress,{percent:70}),y.default.createElement(P.Progress,{percent:100}),y.default.createElement(P.Progress,{type:"circle"}),y.default.createElement(P.Progress,{type:"circle",percent:80}),y.default.createElement(P.Progress,{type:"circle",percent:100}))}}]),s}(h.Component);return y.default.createElement(n,null)},w=function(){var n=function(n){function s(){var n,a,t,p;(0,k.default)(this,s);for(var e=arguments.length,o=Array(e),c=0;c<e;c++)o[c]=arguments[c];return a=t=(0,m.default)(this,(n=s.__proto__||Object.getPrototypeOf(s)).call.apply(n,[this].concat(o))),t.state={value:10},t.increase=function(){var n=t.state.value+10;n>=100&&(n=100),t.setState({value:n})},t.decrease=function(){var n=t.state.value-10;n<0&&(n=0),t.setState({value:n})},p=a,(0,m.default)(t,p)}return(0,v.default)(s,n),(0,d.default)(s,[{key:"render",value:function(){var n=this.state.value;return y.default.createElement("div",null,y.default.createElement(P.Progress,{percent:n}),y.default.createElement(P.Progress,{type:"circle",percent:n}),y.default.createElement("div",null,y.default.createElement(P.Button,{onClick:this.decrease},"-"),y.default.createElement(P.Button,{onClick:this.increase},"+")))}}]),s}(h.Component);return y.default.createElement(n,null)},E=function(){var n=function(n){function s(){return(0,k.default)(this,s),(0,m.default)(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments))}return(0,v.default)(s,n),(0,d.default)(s,[{key:"render",value:function(){return y.default.createElement("div",null,y.default.createElement(P.Progress,{width:300,strokeWidth:5}),y.default.createElement(P.Progress,{percent:70,width:300,strokeWidth:5}),y.default.createElement(P.Progress,{percent:100,width:300,strokeWidth:5}),y.default.createElement(P.Progress,{type:"circle",width:76,strokeWidth:3}),y.default.createElement(P.Progress,{type:"circle",percent:80,width:76,strokeWidth:3}),y.default.createElement(P.Progress,{type:"circle",percent:100,width:76,strokeWidth:3}))}}]),s}(h.Component);return y.default.createElement(n,null)},_=function(){var n=function(n){function s(){return(0,k.default)(this,s),(0,m.default)(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments))}return(0,v.default)(s,n),(0,d.default)(s,[{key:"render",value:function(){return y.default.createElement("div",null,y.default.createElement(P.Progress,{percent:70,status:"success"}),y.default.createElement(P.Progress,{percent:80,status:"exception"}),y.default.createElement(P.Progress,{type:"circle",percent:70,status:"success"}),y.default.createElement(P.Progress,{type:"circle",percent:80,status:"exception"}))}}]),s}(h.Component);return y.default.createElement(n,null)},x=function(){var n=function(n){function s(){return(0,k.default)(this,s),(0,m.default)(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments))}return(0,v.default)(s,n),(0,d.default)(s,[{key:"render",value:function(){return y.default.createElement("div",null,y.default.createElement(P.Progress,{percent:70,showInfo:!1}),y.default.createElement(P.Progress,{percent:100,showInfo:!1}),y.default.createElement(P.Progress,{type:"circle",percent:70,showInfo:!1}),y.default.createElement(P.Progress,{type:"circle",percent:100,showInfo:!1}))}}]),s}(h.Component);return y.default.createElement(n,null)},O=function(){var n=function(n){function s(){return(0,k.default)(this,s),(0,m.default)(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments))}return(0,v.default)(s,n),(0,d.default)(s,[{key:"render",value:function(){return y.default.createElement("div",null,y.default.createElement(P.Progress,{percent:70,format:function(n){return"Percent "+n+"%"}}),y.default.createElement(P.Progress,{percent:80,type:"circle",format:function(n){return"Percent "+n+"%"}}))}}]),s}(h.Component);return y.default.createElement(n,null)},z=function(){var n="#e5e5e5",s=function(s){function a(){return(0,k.default)(this,a),(0,m.default)(this,(a.__proto__||Object.getPrototypeOf(a)).apply(this,arguments))}return(0,v.default)(a,s),(0,d.default)(a,[{key:"render",value:function(){return y.default.createElement("div",null,y.default.createElement(P.Progress,{bgColor:n,normalColor:"#38f",successColor:"#0a0"}),y.default.createElement(P.Progress,{percent:70,bgColor:n,normalColor:"#38f",successColor:"#0a0"}),y.default.createElement(P.Progress,{percent:100,bgColor:n,normalColor:"#38f",successColor:"#0a0"}),y.default.createElement(P.Progress,{percent:80,status:"exception",bgColor:n,normalColor:"#38f",successColor:"#0a0"}),y.default.createElement(P.Progress,{percent:80,status:"exception",bgColor:n,normalColor:"#38f",successColor:"#0a0",exceptionColor:"#f85"}),y.default.createElement(P.Progress,{type:"circle",bgColor:n,normalColor:"#38f",successColor:"#0a0"}),y.default.createElement(P.Progress,{type:"circle",percent:70,bgColor:n,normalColor:"#38f",successColor:"#0a0"}),y.default.createElement(P.Progress,{type:"circle",percent:100,bgColor:n,normalColor:"#38f",successColor:"#0a0"}),y.default.createElement(P.Progress,{type:"circle",percent:80,status:"exception",bgColor:n,normalColor:"#38f",successColor:"#0a0"}),y.default.createElement(P.Progress,{type:"circle",percent:80,status:"exception",bgColor:n,normalColor:"#38f",successColor:"#0a0",exceptionColor:"#f85"}))}}]),a}(h.Component);return y.default.createElement(s,null)},D=function(n){function s(){var n,a,t,p;(0,k.default)(this,s);for(var e=arguments.length,o=Array(e),c=0;c<e;c++)o[c]=arguments[c];return a=t=(0,m.default)(this,(n=s.__proto__||Object.getPrototypeOf(s)).call.apply(n,[this].concat(o))),t.state={showCode:!1},t.toggle=function(){t.setState({showCode:!t.state.showCode})},p=a,(0,m.default)(t,p)}return(0,v.default)(s,n),(0,d.default)(s,[{key:"render",value:function(){var n=this.state.showCode,s=this.props,a=s.title,t=s.src,e=s.children;return y.default.createElement("div",{className:"zandoc-react-demo"},y.default.createElement("div",{className:"zandoc-react-demo__preview"},e),y.default.createElement("div",{className:"zandoc-react-demo__bottom",onClick:this.toggle},y.default.createElement("div",{className:"zandoc-react-demo__title"},y.default.createElement("p",null,a||"")),y.default.createElement("i",{className:"zenticon zenticon-caret-up zandoc-react-demo__toggle "+(n?"zandoc-react-demo__toggle-on":"zandoc-react-demo__toggle-off")})),n&&y.default.createElement("pre",{className:"zandoc-react-demo__code"},y.default.createElement(p,{tag:"code",html:t,attributes:{className:"language-jsx"}})))}}]),s}(h.Component),A=function(n){function s(){return(0,k.default)(this,s),(0,m.default)(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments))}return(0,v.default)(s,n),(0,d.default)(s,[{key:"componentDidMount",value:function(){var n=location.hash;if(n){var s=document.querySelector('a[href="'+n+'"]');s&&(0,b.default)(document.documentElement,0,c(s,-9))}}},{key:"render",value:function(){return y.default.createElement("div",{className:"zandoc-react-container",key:null},y.default.createElement(o,{style:".zent-progress {\n\tmargin-bottom: 10px;\n}\n.zent-progress-circle {\n\tmargin-right: 10px;\n}"}),y.default.createElement(e,{html:'<h2 class="anchor-heading"><a href="#progress">¶</a><a href="javascript:void(0)" id="progress" class="anchor-point"></a>Progress</h2>\n<p>Progress represents the current progress and status of the operation.</p>\n<h3 class="anchor-heading"><a href="#guides">¶</a><a href="javascript:void(0)" id="guides" class="anchor-point"></a>Guides</h3>\n<ul>\n<li>Progress is suitable for long-time operations, which shows the current progess and status of the current operation.</li>\n<li>Progres can display the percentage of the operation progress.</li>\n</ul>\n<h3 class="anchor-heading"><a href="#demos">¶</a><a href="javascript:void(0)" id="demos" class="anchor-point"></a>Demos</h3>'}),y.default.createElement(D,{title:"Basic usage",id:"Demobasic",src:'<span class="token keyword">import</span> <span class="token punctuation">{</span> Progress <span class="token punctuation">}</span> <span class="token keyword">from</span> <span class="token string">\'zent\'</span><span class="token punctuation">;</span>\n\n<span class="token keyword">class</span> <span class="token class-name">App</span> <span class="token keyword">extends</span> <span class="token class-name">Component</span> <span class="token punctuation">{</span>\n\n <span class="token function">render</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span>\n <span class="token keyword">return</span> <span class="token punctuation">(</span>\n <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>div</span><span class="token punctuation">></span></span>\n <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>Progress</span> <span class="token punctuation">/></span></span>\n <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>Progress</span> <span class="token attr-name">percent</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">70</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"><</span>Progress</span> <span class="token attr-name">percent</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">100</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"><</span>Progress</span> <span class="token attr-name">type</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>circle<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"><</span>Progress</span> <span class="token attr-name">type</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>circle<span class="token punctuation">"</span></span> <span class="token attr-name">percent</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">80</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"><</span>Progress</span> <span class="token attr-name">type</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>circle<span class="token punctuation">"</span></span> <span class="token attr-name">percent</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">100</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"></</span>div</span><span class="token punctuation">></span></span>\n <span class="token punctuation">)</span><span class="token punctuation">;</span>\n <span class="token punctuation">}</span>\n<span class="token punctuation">}</span>\n\nReactDOM<span class="token punctuation">.</span><span class="token function">render</span><span class="token punctuation">(</span>\n <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>App</span> <span class="token punctuation">/></span></span>\n <span class="token punctuation">,</span> mountNode\n<span class="token punctuation">)</span><span class="token punctuation">;</span>'},y.default.createElement(j)),y.default.createElement(D,{title:"Dynamic",id:"Demodynamic",src:'<span class="token keyword">import</span> <span class="token punctuation">{</span> Progress<span class="token punctuation">,</span> Button <span class="token punctuation">}</span> <span class="token keyword">from</span> <span class="token string">\'zent\'</span><span class="token punctuation">;</span>\n\n<span class="token keyword">class</span> <span class="token class-name">App</span> <span class="token keyword">extends</span> <span class="token class-name">Component</span> <span class="token punctuation">{</span>\n state <span class="token operator">=</span> <span class="token punctuation">{</span>\n value<span class="token punctuation">:</span> <span class="token number">10</span>\n <span class="token punctuation">}</span>\n\n <span class="token function-variable function">increase</span> <span class="token operator">=</span> <span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token operator">=></span> <span class="token punctuation">{</span>\n <span class="token keyword">let</span> value <span class="token operator">=</span> <span class="token keyword">this</span><span class="token punctuation">.</span>state<span class="token punctuation">.</span>value <span class="token operator">+</span> <span class="token number">10</span><span class="token punctuation">;</span>\n <span class="token keyword">if</span><span class="token punctuation">(</span>value <span class="token operator">>=</span> <span class="token number">100</span><span class="token punctuation">)</span> <span class="token punctuation">{</span>\n value <span class="token operator">=</span> <span class="token number">100</span><span class="token punctuation">;</span>\n <span class="token punctuation">}</span>\n <span class="token keyword">this</span><span class="token punctuation">.</span><span class="token function">setState</span><span class="token punctuation">(</span><span class="token punctuation">{</span> value <span class="token punctuation">}</span><span class="token punctuation">)</span><span class="token punctuation">;</span>\n <span class="token punctuation">}</span>\n\n <span class="token function-variable function">decrease</span> <span class="token operator">=</span> <span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token operator">=></span> <span class="token punctuation">{</span>\n <span class="token keyword">let</span> value <span class="token operator">=</span> <span class="token keyword">this</span><span class="token punctuation">.</span>state<span class="token punctuation">.</span>value <span class="token operator">-</span> <span class="token number">10</span><span class="token punctuation">;</span>\n <span class="token keyword">if</span><span class="token punctuation">(</span>value <span class="token operator"><</span> <span class="token number">0</span><span class="token punctuation">)</span> <span class="token punctuation">{</span>\n value <span class="token operator">=</span> <span class="token number">0</span><span class="token punctuation">;</span>\n <span class="token punctuation">}</span>\n <span class="token keyword">this</span><span class="token punctuation">.</span><span class="token function">setState</span><span class="token punctuation">(</span><span class="token punctuation">{</span> value <span class="token punctuation">}</span><span class="token punctuation">)</span><span class="token punctuation">;</span>\n <span class="token punctuation">}</span>\n\n <span class="token function">render</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span>\n <span class="token keyword">const</span> <span class="token punctuation">{</span> value <span class="token punctuation">}</span> <span class="token operator">=</span> <span class="token keyword">this</span><span class="token punctuation">.</span>state<span class="token punctuation">;</span>\n <span class="token keyword">return</span> <span class="token punctuation">(</span>\n <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>div</span><span class="token punctuation">></span></span>\n <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>Progress</span> <span class="token attr-name">percent</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>value<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"><</span>Progress</span> <span class="token attr-name">type</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>circle<span class="token punctuation">"</span></span> <span class="token attr-name">percent</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>value<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"><</span>div</span><span class="token punctuation">></span></span>\n <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>Button</span> <span class="token attr-name">onClick</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token keyword">this</span><span class="token punctuation">.</span>decrease<span class="token punctuation">}</span></span><span class="token punctuation">></span></span><span class="token operator">-</span><span class="token tag"><span class="token tag"><span class="token punctuation"></</span>Button</span><span class="token punctuation">></span></span>\n <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>Button</span> <span class="token attr-name">onClick</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token keyword">this</span><span class="token punctuation">.</span>increase<span class="token punctuation">}</span></span><span class="token punctuation">></span></span><span class="token operator">+</span><span class="token tag"><span class="token tag"><span class="token punctuation"></</span>Button</span><span class="token punctuation">></span></span>\n <span class="token tag"><span class="token tag"><span class="token punctuation"></</span>div</span><span class="token punctuation">></span></span>\n <span class="token tag"><span class="token tag"><span class="token punctuation"></</span>div</span><span class="token punctuation">></span></span>\n <span class="token punctuation">)</span><span class="token punctuation">;</span>\n <span class="token punctuation">}</span>\n<span class="token punctuation">}</span>\n\nReactDOM<span class="token punctuation">.</span><span class="token function">render</span><span class="token punctuation">(</span>\n <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>App</span> <span class="token punctuation">/></span></span>\n <span class="token punctuation">,</span> mountNode\n<span class="token punctuation">)</span><span class="token punctuation">;</span>'},y.default.createElement(w)),y.default.createElement(D,{title:"Support different size",id:"Demodifferentsize",src:'<span class="token keyword">import</span> <span class="token punctuation">{</span> Progress <span class="token punctuation">}</span> <span class="token keyword">from</span> <span class="token string">\'zent\'</span><span class="token punctuation">;</span>\n\n<span class="token keyword">class</span> <span class="token class-name">App</span> <span class="token keyword">extends</span> <span class="token class-name">Component</span> <span class="token punctuation">{</span>\n\n <span class="token function">render</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span>\n <span class="token keyword">return</span> <span class="token punctuation">(</span>\n <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>div</span><span class="token punctuation">></span></span>\n <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>Progress</span> <span class="token attr-name">width</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">300</span><span class="token punctuation">}</span></span> <span class="token attr-name">strokeWidth</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"><</span>Progress</span> <span class="token attr-name">percent</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">70</span><span class="token punctuation">}</span></span> <span class="token attr-name">width</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">300</span><span class="token punctuation">}</span></span> <span class="token attr-name">strokeWidth</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"><</span>Progress</span> <span class="token attr-name">percent</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">100</span><span class="token punctuation">}</span></span> <span class="token attr-name">width</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">300</span><span class="token punctuation">}</span></span> <span class="token attr-name">strokeWidth</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"><</span>Progress</span> <span class="token attr-name">type</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>circle<span class="token punctuation">"</span></span> <span class="token attr-name">width</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">76</span><span class="token punctuation">}</span></span> <span class="token attr-name">strokeWidth</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">3</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"><</span>Progress</span> <span class="token attr-name">type</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>circle<span class="token punctuation">"</span></span> <span class="token attr-name">percent</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">80</span><span class="token punctuation">}</span></span> <span class="token attr-name">width</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">76</span><span class="token punctuation">}</span></span> <span class="token attr-name">strokeWidth</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">3</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"><</span>Progress</span> <span class="token attr-name">type</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>circle<span class="token punctuation">"</span></span> <span class="token attr-name">percent</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">100</span><span class="token punctuation">}</span></span> <span class="token attr-name">width</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">76</span><span class="token punctuation">}</span></span> <span class="token attr-name">strokeWidth</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">3</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"></</span>div</span><span class="token punctuation">></span></span>\n <span class="token punctuation">)</span><span class="token punctuation">;</span>\n <span class="token punctuation">}</span>\n<span class="token punctuation">}</span>\n\nReactDOM<span class="token punctuation">.</span><span class="token function">render</span><span class="token punctuation">(</span>\n <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>App</span> <span class="token punctuation">/></span></span>\n <span class="token punctuation">,</span> mountNode\n<span class="token punctuation">)</span><span class="token punctuation">;</span>'},y.default.createElement(E)),y.default.createElement(D,{title:"Support different status",id:"Demodifferentstatus",src:'<span class="token keyword">import</span> <span class="token punctuation">{</span> Progress<span class="token punctuation">,</span> Slider <span class="token punctuation">}</span> <span class="token keyword">from</span> <span class="token string">\'zent\'</span><span class="token punctuation">;</span>\n\n<span class="token keyword">class</span> <span class="token class-name">App</span> <span class="token keyword">extends</span> <span class="token class-name">Component</span> <span class="token punctuation">{</span>\n <span class="token function">render</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span>\n <span class="token keyword">return</span> <span class="token punctuation">(</span>\n <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>div</span><span class="token punctuation">></span></span>\n <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>Progress</span> <span class="token attr-name">percent</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">70</span><span class="token punctuation">}</span></span> <span class="token attr-name">status</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>success<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"><</span>Progress</span> <span class="token attr-name">percent</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">80</span><span class="token punctuation">}</span></span> <span class="token attr-name">status</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>exception<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"><</span>Progress</span> <span class="token attr-name">type</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>circle<span class="token punctuation">"</span></span> <span class="token attr-name">percent</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">70</span><span class="token punctuation">}</span></span> <span class="token attr-name">status</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>success<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"><</span>Progress</span> <span class="token attr-name">type</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>circle<span class="token punctuation">"</span></span> <span class="token attr-name">percent</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">80</span><span class="token punctuation">}</span></span> <span class="token attr-name">status</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>exception<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"></</span>div</span><span class="token punctuation">></span></span>\n <span class="token punctuation">)</span><span class="token punctuation">;</span>\n <span class="token punctuation">}</span>\n<span class="token punctuation">}</span>\n\nReactDOM<span class="token punctuation">.</span><span class="token function">render</span><span class="token punctuation">(</span>\n <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>App</span> <span class="token punctuation">/></span></span>\n <span class="token punctuation">,</span> mountNode\n<span class="token punctuation">)</span><span class="token punctuation">;</span>'},y.default.createElement(_)),y.default.createElement(D,{title:"Show process infomation or not",id:"Demoinfo",src:'<span class="token keyword">import</span> <span class="token punctuation">{</span> Progress<span class="token punctuation">,</span> Slider <span class="token punctuation">}</span> <span class="token keyword">from</span> <span class="token string">\'zent\'</span><span class="token punctuation">;</span>\n\n<span class="token keyword">class</span> <span class="token class-name">App</span> <span class="token keyword">extends</span> <span class="token class-name">Component</span> <span class="token punctuation">{</span>\n <span class="token function">render</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span>\n <span class="token keyword">return</span> <span class="token punctuation">(</span>\n <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>div</span><span class="token punctuation">></span></span>\n <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>Progress</span> <span class="token attr-name">percent</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">70</span><span class="token punctuation">}</span></span> <span class="token attr-name">showInfo</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token boolean">false</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"><</span>Progress</span> <span class="token attr-name">percent</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">100</span><span class="token punctuation">}</span></span> <span class="token attr-name">showInfo</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token boolean">false</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"><</span>Progress</span> <span class="token attr-name">type</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>circle<span class="token punctuation">"</span></span> <span class="token attr-name">percent</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">70</span><span class="token punctuation">}</span></span> <span class="token attr-name">showInfo</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token boolean">false</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"><</span>Progress</span> <span class="token attr-name">type</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>circle<span class="token punctuation">"</span></span> <span class="token attr-name">percent</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">100</span><span class="token punctuation">}</span></span> <span class="token attr-name">showInfo</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token boolean">false</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"></</span>div</span><span class="token punctuation">></span></span>\n <span class="token punctuation">)</span><span class="token punctuation">;</span>\n <span class="token punctuation">}</span>\n<span class="token punctuation">}</span>\n\nReactDOM<span class="token punctuation">.</span><span class="token function">render</span><span class="token punctuation">(</span>\n <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>App</span> <span class="token punctuation">/></span></span>\n <span class="token punctuation">,</span> mountNode\n<span class="token punctuation">)</span><span class="token punctuation">;</span>'},y.default.createElement(x)),y.default.createElement(D,{title:"Custom format function of text",id:"Democustomtext",src:'<span class="token keyword">import</span> <span class="token punctuation">{</span> Progress<span class="token punctuation">,</span> Slider <span class="token punctuation">}</span> <span class="token keyword">from</span> <span class="token string">\'zent\'</span><span class="token punctuation">;</span>\n\n<span class="token keyword">class</span> <span class="token class-name">App</span> <span class="token keyword">extends</span> <span class="token class-name">Component</span> <span class="token punctuation">{</span>\n <span class="token function">render</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span>\n <span class="token keyword">return</span> <span class="token punctuation">(</span>\n <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>div</span><span class="token punctuation">></span></span>\n <span class="token operator"><</span>Progress percent<span class="token operator">=</span><span class="token punctuation">{</span><span class="token number">70</span><span class="token punctuation">}</span> format<span class="token operator">=</span><span class="token punctuation">{</span><span class="token punctuation">(</span>percent<span class="token punctuation">)</span> <span class="token operator">=></span> <span class="token template-string"><span class="token string">`Percent </span><span class="token interpolation"><span class="token interpolation-punctuation punctuation">${</span>percent<span class="token interpolation-punctuation punctuation">}</span></span><span class="token string">%`</span></span><span class="token punctuation">}</span> <span class="token operator">/</span><span class="token operator">></span>\n <span class="token operator"><</span>Progress percent<span class="token operator">=</span><span class="token punctuation">{</span><span class="token number">80</span><span class="token punctuation">}</span> type<span class="token operator">=</span><span class="token string">"circle"</span> format<span class="token operator">=</span><span class="token punctuation">{</span><span class="token punctuation">(</span>percent<span class="token punctuation">)</span> <span class="token operator">=></span> <span class="token template-string"><span class="token string">`Percent </span><span class="token interpolation"><span class="token interpolation-punctuation punctuation">${</span>percent<span class="token interpolation-punctuation punctuation">}</span></span><span class="token string">%`</span></span><span class="token punctuation">}</span> <span class="token operator">/</span><span class="token operator">></span>\n <span class="token tag"><span class="token tag"><span class="token punctuation"></</span>div</span><span class="token punctuation">></span></span>\n <span class="token punctuation">)</span><span class="token punctuation">;</span>\n <span class="token punctuation">}</span>\n<span class="token punctuation">}</span>\n\nReactDOM<span class="token punctuation">.</span><span class="token function">render</span><span class="token punctuation">(</span>\n <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>App</span> <span class="token punctuation">/></span></span>\n <span class="token punctuation">,</span> mountNode\n<span class="token punctuation">)</span><span class="token punctuation">;</span>'},y.default.createElement(O)),y.default.createElement(D,{title:"Custom color of progress",id:"Democustomcolor",src:'<span class="token keyword">import</span> <span class="token punctuation">{</span> Progress <span class="token punctuation">}</span> <span class="token keyword">from</span> <span class="token string">\'zent\'</span><span class="token punctuation">;</span>\n\n<span class="token keyword">const</span> bgColor <span class="token operator">=</span> <span class="token string">\'#e5e5e5\'</span><span class="token punctuation">;</span>\n<span class="token keyword">const</span> normalColor <span class="token operator">=</span> <span class="token string">\'#38f\'</span><span class="token punctuation">;</span>\n<span class="token keyword">const</span> successColor <span class="token operator">=</span> <span class="token string">\'#0a0\'</span><span class="token punctuation">;</span>\n<span class="token keyword">const</span> exceptionColor <span class="token operator">=</span> <span class="token string">\'#f85\'</span><span class="token punctuation">;</span>\n\n<span class="token keyword">class</span> <span class="token class-name">App</span> <span class="token keyword">extends</span> <span class="token class-name">Component</span> <span class="token punctuation">{</span>\n\n <span class="token function">render</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span>\n <span class="token keyword">return</span> <span class="token punctuation">(</span>\n <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>div</span><span class="token punctuation">></span></span>\n <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>Progress</span> <span class="token attr-name">bgColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>bgColor<span class="token punctuation">}</span></span> <span class="token attr-name">normalColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>normalColor<span class="token punctuation">}</span></span> <span class="token attr-name">successColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>successColor<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"><</span>Progress</span> <span class="token attr-name">percent</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">70</span><span class="token punctuation">}</span></span> <span class="token attr-name">bgColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>bgColor<span class="token punctuation">}</span></span> <span class="token attr-name">normalColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>normalColor<span class="token punctuation">}</span></span> <span class="token attr-name">successColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>successColor<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"><</span>Progress</span> <span class="token attr-name">percent</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">100</span><span class="token punctuation">}</span></span> <span class="token attr-name">bgColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>bgColor<span class="token punctuation">}</span></span> <span class="token attr-name">normalColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>normalColor<span class="token punctuation">}</span></span> <span class="token attr-name">successColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>successColor<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"><</span>Progress</span> <span class="token attr-name">percent</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">80</span><span class="token punctuation">}</span></span> <span class="token attr-name">status</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>exception<span class="token punctuation">"</span></span> <span class="token attr-name">bgColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>bgColor<span class="token punctuation">}</span></span> <span class="token attr-name">normalColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>normalColor<span class="token punctuation">}</span></span> <span class="token attr-name">successColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>successColor<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"><</span>Progress</span> <span class="token attr-name">percent</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">80</span><span class="token punctuation">}</span></span> <span class="token attr-name">status</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>exception<span class="token punctuation">"</span></span> <span class="token attr-name">bgColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>bgColor<span class="token punctuation">}</span></span> <span class="token attr-name">normalColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>normalColor<span class="token punctuation">}</span></span> <span class="token attr-name">successColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>successColor<span class="token punctuation">}</span></span> <span class="token attr-name">exceptionColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>exceptionColor<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"><</span>Progress</span> <span class="token attr-name">type</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>circle<span class="token punctuation">"</span></span> <span class="token attr-name">bgColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>bgColor<span class="token punctuation">}</span></span> <span class="token attr-name">normalColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>normalColor<span class="token punctuation">}</span></span> <span class="token attr-name">successColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>successColor<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"><</span>Progress</span> <span class="token attr-name">type</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>circle<span class="token punctuation">"</span></span> <span class="token attr-name">percent</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">70</span><span class="token punctuation">}</span></span> <span class="token attr-name">bgColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>bgColor<span class="token punctuation">}</span></span> <span class="token attr-name">normalColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>normalColor<span class="token punctuation">}</span></span> <span class="token attr-name">successColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>successColor<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"><</span>Progress</span> <span class="token attr-name">type</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>circle<span class="token punctuation">"</span></span> <span class="token attr-name">percent</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">100</span><span class="token punctuation">}</span></span> <span class="token attr-name">bgColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>bgColor<span class="token punctuation">}</span></span> <span class="token attr-name">normalColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>normalColor<span class="token punctuation">}</span></span> <span class="token attr-name">successColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>successColor<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"><</span>Progress</span> <span class="token attr-name">type</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>circle<span class="token punctuation">"</span></span> <span class="token attr-name">percent</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">80</span><span class="token punctuation">}</span></span> <span class="token attr-name">status</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>exception<span class="token punctuation">"</span></span> <span class="token attr-name">bgColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>bgColor<span class="token punctuation">}</span></span> <span class="token attr-name">normalColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>normalColor<span class="token punctuation">}</span></span> <span class="token attr-name">successColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>successColor<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"><</span>Progress</span> <span class="token attr-name">type</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>circle<span class="token punctuation">"</span></span> <span class="token attr-name">percent</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span><span class="token number">80</span><span class="token punctuation">}</span></span> <span class="token attr-name">status</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">"</span>exception<span class="token punctuation">"</span></span> <span class="token attr-name">bgColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>bgColor<span class="token punctuation">}</span></span> <span class="token attr-name">normalColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>normalColor<span class="token punctuation">}</span></span> <span class="token attr-name">successColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>successColor<span class="token punctuation">}</span></span> <span class="token attr-name">exceptionColor</span><span class="token script language-javascript"><span class="token punctuation">=</span><span class="token punctuation">{</span>exceptionColor<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"></</span>div</span><span class="token punctuation">></span></span>\n <span class="token punctuation">)</span><span class="token punctuation">;</span>\n <span class="token punctuation">}</span>\n<span class="token punctuation">}</span>\n\nReactDOM<span class="token punctuation">.</span><span class="token function">render</span><span class="token punctuation">(</span>\n <span class="token tag"><span class="token tag"><span class="token punctuation"><</span>App</span> <span class="token punctuation">/></span></span>\n <span class="token punctuation">,</span> mountNode\n<span class="token punctuation">)</span><span class="token punctuation">;</span>'},y.default.createElement(z)),y.default.createElement(e,{html:"<h3 class=\"anchor-heading\"><a href=\"#api\">¶</a><a href=\"javascript:void(0)\" id=\"api\" class=\"anchor-point\"></a>API</h3>\n<table class=\"table\">\n<thead>\n<tr>\n<th>Property</th>\n<th>Description</th>\n<th>Type</th>\n<th>Default</th>\n<th>Alternative</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>Style of progess</td>\n<td>string</td>\n<td><code>'line'</code></td>\n<td><code>'circle'</code></td>\n</tr>\n<tr>\n<td>percent</td>\n<td>percentage of progress</td>\n<td>number</td>\n<td><code>0</code></td>\n<td></td>\n</tr>\n<tr>\n<td>status</td>\n<td>status of progress</td>\n<td>string</td>\n<td></td>\n<td><code>'success'</code>\n,\n<code>'exception'</code></td>\n</tr>\n<tr>\n<td>showInfo</td>\n<td>Whether to show status information</td>\n<td>boolean</td>\n<td><code>true</code></td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td>format</td>\n<td>The format function of text</td>\n<td>func</td>\n<td>built-in function</td>\n<td></td>\n</tr>\n<tr>\n<td>strokeWidth</td>\n<td>The width of progess bar, unit: px</td>\n<td>number</td>\n<td><code>10</code></td>\n<td></td>\n</tr>\n<tr>\n<td>width</td>\n<td>The radius of the cicrle progress bar or the total length of the strip progess bar</td>\n<td>number</td>\n<td><code>132(type=circle), 580(type=line)</code></td>\n<td></td>\n</tr>\n<tr>\n<td>bgColor</td>\n<td>The color of background</td>\n<td>string</td>\n<td><code>'#f8f8f8'</code></td>\n<td></td>\n</tr>\n<tr>\n<td>normalColor</td>\n<td>The color of the progress bar</td>\n<td>string</td>\n<td><code>'#f44'</code></td>\n<td></td>\n</tr>\n<tr>\n<td>successColor</td>\n<td>The color of the progress bar and the status icon whe the progress's status is successful.</td>\n<td>string</td>\n<td><code>'#4b0'</code></td>\n<td></td>\n</tr>\n<tr>\n<td>exceptionColor</td>\n<td>The color of the progress bar and the status icon whe the progress's status is in exception. When this property is not specified, it will use the property \n<code>normalColor</code>\n.</td>\n<td>string</td>\n<td><code>'#f44'</code></td>\n<td></td>\n</tr>\n<tr>\n<td>className</td>\n<td>The custom classname</td>\n<td>string</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>prefix</td>\n<td>The custom prefix</td>\n<td>string</td>\n<td><code>'zent'</code></td>\n<td></td>\n</tr>\n</tbody>\n</table>"}))}}]),s}(h.Component);s.default=A}});