File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import ProgressBar from '../../components/progress_bar' ;
3
- import style from '../style'
3
+ import style from '../style' ;
4
4
5
5
const initialState = {
6
6
progress : 0 ,
@@ -49,7 +49,7 @@ class ProgressBarTest extends React.Component {
49
49
< p style = { { margin : '10px auto' } } > Circular</ p >
50
50
< ProgressBar type = 'circular' mode = 'indeterminate' />
51
51
< p style = { { margin : '10px auto' } } > Circular with custom size</ p >
52
- < ProgressBar type = 'circular' mode = 'indeterminate' className = { style . customSizedProgress } />
52
+ < ProgressBar className = { style . customSizedProgress } type = 'circular' mode = 'indeterminate' theme = { style } />
53
53
</ section >
54
54
) ;
55
55
}
Original file line number Diff line number Diff line change @@ -141,6 +141,8 @@ $offset: 1.8 * $unit;
141
141
}
142
142
143
143
.customSizedProgress {
144
- width : 40px !important ;
145
- height : 40px !important ;
144
+ & .circular {
145
+ width : 40px ;
146
+ height : 40px ;
147
+ }
146
148
}
You can’t perform that action at this time.
0 commit comments