Skip to content

Commit 8743327

Browse files
RahulArt420pradel
andauthored
chore: delete xmlns prop from svg close icon (#429)
Co-authored-by: pradel <pradel.leo@gmail.com>
1 parent 3f620aa commit 8743327

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

react-responsive-modal/__tests__/__snapshots__/index.test.tsx.snap

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ exports[`modal closeIcon should render the closeIcon by default 1`] = `
1010
height="28"
1111
viewBox="0 0 36 36"
1212
width="28"
13-
xmlns="http://www.w3.org/2000/svg"
1413
>
1514
<path
1615
d="M28.5 9.62L26.38 7.5 18 15.88 9.62 7.5 7.5 9.62 15.88 18 7.5 26.38l2.12 2.12L18 20.12l8.38 8.38 2.12-2.12L20.12 18z"

react-responsive-modal/src/CloseIcon.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ const CloseIcon = ({
3939
<svg
4040
className={classNames?.closeIcon}
4141
style={styles?.closeIcon}
42-
xmlns="http://www.w3.org/2000/svg"
4342
width={28}
4443
height={28}
4544
viewBox="0 0 36 36"

0 commit comments

Comments
 (0)