Skip to content

Commit a1fdd16

Browse files
committed
Fixed sort icon resizing when it should not
1 parent 25099a9 commit a1fdd16

File tree

1 file changed

+5
-18
lines changed

1 file changed

+5
-18
lines changed
Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,9 @@
1+
import DxcIcon from "../icon/Icon";
2+
13
const icons = {
2-
arrowUp: (
3-
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24" fill="currentColor">
4-
<path d="M0 0h24v24H0V0z" fill="none" />
5-
<path d="M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z" />
6-
</svg>
7-
),
8-
arrowDown: (
9-
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24" fill="currentColor">
10-
<path d="M0 0h24v24H0V0z" fill="none" />
11-
<path d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z" />
12-
</svg>
13-
),
14-
bothArrows: (
15-
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24" fill="currentColor">
16-
<path d="M0 0h24v24H0z" fill="none" />
17-
<path d="M12 5.83L15.17 9l1.41-1.41L12 3 7.41 7.59 8.83 9 12 5.83zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15 12 18.17z" />
18-
</svg>
19-
),
4+
arrowUp: <DxcIcon icon="arrow_upward" />,
5+
arrowDown: <DxcIcon icon="arrow_downward" />,
6+
bothArrows: <DxcIcon icon="unfold_more" />,
207
};
218

229
export default icons;

0 commit comments

Comments
 (0)