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_FILL_NONE , DEFAULT_HEIGHT , DEFAULT_WIDTH } from '../../constants/constants' ;
1+ import { DEFAULT_FILL , DEFAULT_HEIGHT , DEFAULT_WIDTH } from '../../constants/constants' ;
22import { IconProps } from '../types' ;
33
44function CrossCircleIcon ( {
55 width = DEFAULT_WIDTH ,
66 height = DEFAULT_HEIGHT ,
7- fill = DEFAULT_FILL_NONE ,
7+ fill = DEFAULT_FILL ,
88 ...props
99} : IconProps ) : JSX . Element {
1010 return (
@@ -17,9 +17,16 @@ function CrossCircleIcon({
1717 style = { { ...props . style } }
1818 { ...props }
1919 >
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- />
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+ />
24+ </ g >
25+ < defs >
26+ < clipPath id = "a" >
27+ < path d = "M0 0h24v24H0z" fill = { props . stroke || '#FFFFF' } />
28+ </ clipPath >
29+ </ defs >
2330 </ svg >
2431 ) ;
2532}
You can’t perform that action at this time.
0 commit comments