Skip to content

Commit 61711b3

Browse files
committed
fix: update dls tree and tree table icons, too
1 parent 0304174 commit 61711b3

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/react-core/src/components/DualListSelector/DualListSelectorTreeItem.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import styles from '@patternfly/react-styles/css/components/DualListSelector/dua
33
import { css } from '@patternfly/react-styles';
44
import { DualListSelectorTreeItemData } from './DualListSelectorTree';
55
import { Badge } from '../Badge';
6-
import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon';
6+
import RhMicronsCaretRightIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-right-icon';
77
import { flattenTree } from './treeUtils';
88
import { DualListSelectorListContext } from './DualListSelectorContext';
99
import { useHasAnimations } from '../../helpers';
@@ -136,7 +136,7 @@ const DualListSelectorTreeItemBase: React.FunctionComponent<DualListSelectorTree
136136
tabIndex={-1}
137137
>
138138
<span className={css(styles.dualListSelectorItemToggleIcon)}>
139-
<RhMicronsCaretDownIcon />
139+
<RhMicronsCaretRightIcon />
140140
</span>
141141
</div>
142142
)}

packages/react-table/src/components/Table/utils/decorators/treeRow.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import styles from '@patternfly/react-styles/css/components/Table/table';
44
import stylesTreeView from '@patternfly/react-styles/css/components/Table/table-tree-view';
55
import { Button } from '@patternfly/react-core/dist/esm/components/Button';
66
import { Checkbox } from '@patternfly/react-core/dist/esm/components/Checkbox';
7-
import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon';
7+
import RhMicronsCaretRightIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-right-icon';
88
import RhUiEllipsisHorizontalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-horizontal-fill-icon';
99

1010
export const treeRow =
@@ -54,7 +54,7 @@ export const treeRow =
5454
aria-label={toggleAriaLabel || `${isExpanded ? 'Collapse' : 'Expand'} row ${rowIndex}`}
5555
icon={
5656
<div className={css(stylesTreeView.tableToggleIcon)}>
57-
<RhMicronsCaretDownIcon />
57+
<RhMicronsCaretRightIcon />
5858
</div>
5959
}
6060
/>

0 commit comments

Comments
 (0)