File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import { DEFAULT_HEIGHT , DEFAULT_WIDTH } from '../../constants/constants' ;
1+ import { DEFAULT_FILL_NONE , DEFAULT_HEIGHT , DEFAULT_WIDTH } from '../../constants/constants' ;
22import { IconProps } from '../types' ;
33
44function CrossCircleIcon ( {
55 width = DEFAULT_WIDTH ,
66 height = DEFAULT_HEIGHT ,
7- fill = 'currentColor' ,
7+ fill = DEFAULT_FILL_NONE ,
88 ...props
99} : IconProps ) : JSX . Element {
1010 return (
@@ -17,17 +17,9 @@ function CrossCircleIcon({
1717 style = { { ...props . style } }
1818 { ...props }
1919 >
20- < g clipPath = "url(#a)" >
21- < path
22- d = "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2Zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59Z"
23- fillOpacity = ".54"
24- />
25- </ g >
26- < defs >
27- < clipPath id = "a" >
28- < path d = "M0 0h24v24H0z" fill = { props . stroke || '#FFFFF' } />
29- </ clipPath >
30- </ defs >
20+ < path d = "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"
21+ fill = { fill }
22+ />
3123 </ svg >
3224 ) ;
3325}
You can’t perform that action at this time.
0 commit comments