Skip to content

Commit a07ec63

Browse files
committed
remove not use code
1 parent 7575645 commit a07ec63

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

examples/gradient-circle.js

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,11 @@ import ReactDOM from 'react-dom';
44
import { Circle } from 'rc-progress';
55

66
class Example extends Component {
7-
constructor() {
8-
super();
9-
this.state = {};
10-
}
11-
127
render() {
13-
const containerStyle = {
14-
width: '250px'
15-
};
168
const circleContainerStyle = {
179
width: '250px',
1810
height: '250px',
19-
display: 'inline-block'
11+
display: 'inline-block',
2012
};
2113
return (
2214
<div>
@@ -28,7 +20,7 @@ class Example extends Component {
2820
strokeLinecap="round"
2921
strokeColor={{
3022
'0%': '#108ee9',
31-
'100%': '#87d068'
23+
'100%': '#87d068',
3224
}}
3325
/>
3426
</div>
@@ -40,7 +32,7 @@ class Example extends Component {
4032
strokeLinecap="round"
4133
strokeColor={{
4234
'100%': '#87d068',
43-
'0%': '#108ee9'
35+
'0%': '#108ee9',
4436
}}
4537
/>
4638
</div>

0 commit comments

Comments
 (0)