|
|
|
@ -5,7 +5,7 @@ var Progresscircle = require('rc-progress').Circle;
|
|
|
|
|
var React = require('react');
|
|
|
|
|
|
|
|
|
|
var Line = React.createClass({
|
|
|
|
|
getDefaultProps: function () {
|
|
|
|
|
getDefaultProps() {
|
|
|
|
|
return {
|
|
|
|
|
width: 300,
|
|
|
|
|
percent: 0,
|
|
|
|
@ -41,7 +41,6 @@ var Line = React.createClass({
|
|
|
|
|
<i style={iconStyle} className="anticon anticon-exclamation-circle"></i>
|
|
|
|
|
</span>
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
} else if (this.props.status === 'success') {
|
|
|
|
|
progressInfo = (
|
|
|
|
|
<span style={textStyle} className='ant-progress-line-text'>
|
|
|
|
|