File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
1
import DefaultUserAvatar from 'assets/images/default-user-avatar.svg' ;
2
2
import React from 'react' ;
3
3
import { themr } from 'react-css-super-themr' ;
4
- import { Avatar } from 'topcoder-react-utils' ;
4
+ import { Avatar as ProtoAvatar } from 'topcoder-react-utils' ;
5
5
6
6
import theme from './style.scss' ;
7
7
8
- export default themr ( 'Avatar' , theme ) ( props =>
9
- < Avatar DefaultAvatar = { DefaultUserAvatar } { ...props } /> ) ;
8
+ function Avatar ( props ) {
9
+ return < ProtoAvatar DefaultAvatar = { DefaultUserAvatar } { ...props } /> ;
10
+ }
11
+
12
+ export default themr ( 'Avatar' , theme ) ( Avatar ) ;
Original file line number Diff line number Diff line change 1
1
@import " _mixins/variables" ;
2
- @import " ../../node_modules/ topcoder-react-utils/src/styles/mixins" ;
2
+ @import " ~ topcoder-react-utils/src/styles/mixins" ;
3
3
@import " _mixins/typography" ;
You can’t perform that action at this time.
0 commit comments