Skip to content

Commit

Permalink
Merge pull request #8848 from abhinandan13jan/dndIcon
Browse files Browse the repository at this point in the history
update dnd icon
  • Loading branch information
openshift-merge-robot committed May 14, 2021
2 parents b201205 + 0fa13d6 commit b787990
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
DataListItemProps,
DataListItemRow,
} from '@patternfly/react-core';
import { MinusCircleIcon, PficonDragdropIcon } from '@patternfly/react-icons';
import { MinusCircleIcon, GripVerticalIcon } from '@patternfly/react-icons';

const DNDDataListItemTypeName = 'dnd-row';
const DNDDataListCellMoveStyle = { cursor: 'move' };
Expand Down Expand Up @@ -75,7 +75,7 @@ export const DNDDataListItem: React.FC<DNDDataListItemProps> = ({
const dataListCell = [
<DataListCell isFilled={false} key={cellKey('drag')}>
<div ref={drag} style={DNDDataListCellMoveStyle}>
<PficonDragdropIcon />
<GripVerticalIcon />
</div>
</DataListCell>,
...React.Children.map(children, (cell, i) => (
Expand Down
6 changes: 3 additions & 3 deletions frontend/public/components/utils/name-value-editor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as classNames from 'classnames';
import { DragSource, DropTarget } from 'react-dnd';
import { DRAGGABLE_TYPE } from './draggable-item-types';
import { Button, Tooltip } from '@patternfly/react-core';
import { PficonDragdropIcon, MinusCircleIcon, PlusCircleIcon } from '@patternfly/react-icons';
import { GripVerticalIcon, MinusCircleIcon, PlusCircleIcon } from '@patternfly/react-icons';
import { withTranslation } from 'react-i18next';

import { NameValueEditorPair, EnvFromPair, EnvType } from './index';
Expand Down Expand Up @@ -482,7 +482,7 @@ const PairElement_ = DragSource(
variant="plain"
aria-label={t('public~Drag to reorder')}
>
<PficonDragdropIcon className="pairs-list__action-icon--reorder" />
<GripVerticalIcon className="pairs-list__action-icon--reorder" />
</Button>
</div>
);
Expand Down Expand Up @@ -651,7 +651,7 @@ const EnvFromPairElement_ = DragSource(
variant="plain"
aria-label={t('public~Drag to reorder')}
>
<PficonDragdropIcon className="pairs-list__action-icon--reorder" />
<GripVerticalIcon className="pairs-list__action-icon--reorder" />
</Button>
</div>,
)}
Expand Down

0 comments on commit b787990

Please sign in to comment.