Skip to content

Commit 6a352b2

Browse files
Fix icon visibility issue in tree component (#2469)
1 parent d4bde15 commit 6a352b2

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/components/Tree/SwitcherIcon.jsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ import React from "react";
33
import { Down, Right } from "neetoicons";
44

55
const SwitcherIcon = ({ expanded }) =>
6-
expanded ? <Down size={16} /> : <Right size={16} />;
6+
expanded ? (
7+
<Down className="neeto-ui-relative" size={16} />
8+
) : (
9+
<Right className="neeto-ui-relative" size={16} />
10+
);
711

812
export default SwitcherIcon;

0 commit comments

Comments
 (0)