Skip to content

Commit 5b425af

Browse files
revert changes
Signed-off-by: Rajesh-Nagarajan-11 <rajeshnagarajan36@gmail.com>
1 parent 254ac2f commit 5b425af

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

src/icons/CrossCircle/index.tsx

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { DEFAULT_FILL_NONE, DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants';
1+
import { DEFAULT_FILL, DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants';
22
import { IconProps } from '../types';
33

44
function 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
}

0 commit comments

Comments
 (0)