code style

pull/30/head
afc163 10 years ago
parent f6219f21eb
commit d39b222b47

@ -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'>

Loading…
Cancel
Save