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 11import React from 'react' ;
22import ProgressBar from '../../components/progress_bar' ;
3- import style from '../style'
3+ import style from '../style' ;
44
55const initialState = {
66 progress : 0 ,
@@ -49,7 +49,7 @@ class ProgressBarTest extends React.Component {
4949 < p style = { { margin : '10px auto' } } > Circular</ p >
5050 < ProgressBar type = 'circular' mode = 'indeterminate' />
5151 < 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 } />
5353 </ section >
5454 ) ;
5555 }
Original file line number Diff line number Diff line change @@ -141,6 +141,8 @@ $offset: 1.8 * $unit;
141141}
142142
143143.customSizedProgress {
144- width : 40px !important ;
145- height : 40px !important ;
144+ & .circular {
145+ width : 40px ;
146+ height : 40px ;
147+ }
146148}
You can’t perform that action at this time.
0 commit comments