File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
src/Shared/Components/ActivityIndicator Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1
1
import { ActivityIndicatorProps } from './types'
2
2
3
- const ActivityIndicator = ( { rootClassName = '' } : ActivityIndicatorProps ) => (
4
- < div className = { `dc__border-radius-50-per bcr-5 icon-dim-6 ${ rootClassName } ` } />
3
+ const ActivityIndicator = ( {
4
+ rootClassName = '' ,
5
+ backgroundColorClass = 'bcr-5' ,
6
+ iconSizeClass = 'icon-dim-6' ,
7
+ } : ActivityIndicatorProps ) => (
8
+ < div className = { `dc__border-radius-50-per ${ backgroundColorClass } ${ iconSizeClass } ${ rootClassName } ` } />
5
9
)
6
10
7
11
export default ActivityIndicator
Original file line number Diff line number Diff line change 1
1
export interface ActivityIndicatorProps {
2
2
rootClassName ?: string
3
+ backgroundColorClass ?: string
4
+ iconSizeClass ?: string
3
5
}
You can’t perform that action at this time.
0 commit comments