Skip to content

Commit 254ac2f

Browse files
fix
Signed-off-by: Rajesh-Nagarajan-11 <rajeshnagarajan36@gmail.com>
1 parent 2ca5ab5 commit 254ac2f

1 file changed

Lines changed: 5 additions & 13 deletions

File tree

src/icons/CrossCircle/index.tsx

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants';
1+
import { DEFAULT_FILL_NONE, 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 = '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
}

0 commit comments

Comments
 (0)