Skip to content

Commit a72042e

Browse files
fix(UserIcon): Replace UserIcon with RhUiProfileFillIcon
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 4ca2e04 commit a72042e

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

packages/react-core/src/components/EmptyState/__tests__/Generated/EmptyStateIcon.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
* This test was generated
33
*/
44
import { render } from '@testing-library/react';
5-
import UserIcon from '@patternfly/react-icons/dist/esm/icons/user-icon';
5+
import RhUiProfileFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-profile-fill-icon';
66
import { EmptyStateIcon } from '../../EmptyStateIcon';
77
// any missing imports can usually be resolved by adding them here
88
import { Spinner } from '../../../Spinner/Spinner';
99

1010
it('EmptyStateIcon should match snapshot (auto-generated)', () => {
11-
const { asFragment } = render(<EmptyStateIcon className={"''"} icon={UserIcon} />);
11+
const { asFragment } = render(<EmptyStateIcon className={"''"} icon={RhUiProfileFillIcon} />);
1212
expect(asFragment()).toMatchSnapshot();
1313
});
1414

packages/react-core/src/components/Nav/examples/Nav.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ouia: true
99
import { useState } from 'react';
1010
import './nav.css';
1111
import ArrowRightIcon from '@patternfly/react-icons/dist/esm/icons/arrow-right-icon';
12-
import UserIcon from '@patternfly/react-icons/dist/esm/icons/user-icon';
12+
import RhUiProfileFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-profile-fill-icon';
1313
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
1414
import FolderIcon from '@patternfly/react-icons/dist/esm/icons/folder-icon';
1515
import CloudIcon from '@patternfly/react-icons/dist/esm/icons/cloud-icon';

packages/react-integration/demo-app-ts/src/components/demos/AlertDemo/AlertDemo.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Component } from 'react';
22
import { Alert, AlertActionCloseButton } from '@patternfly/react-core';
3-
import UserIcon from '@patternfly/react-icons/dist/esm/icons/user-icon';
3+
import RhUiProfileFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-profile-fill-icon';
44

55
interface AlertDemoState {
66
alertOneVisible: boolean;
@@ -59,7 +59,7 @@ export class AlertDemo extends Component<{}, AlertDemoState> {
5959
truncateTitle={3}
6060
tooltipPosition="bottom"
6161
/>
62-
<Alert id="custom-icon-alert" title="Custom icon alert title" customIcon={<UserIcon />}>
62+
<Alert id="custom-icon-alert" title="Custom icon alert title" customIcon={<RhUiProfileFillIcon />}>
6363
Custom icon alert description
6464
</Alert>
6565
<Alert id="expandable-alert" title="Expandable alert title" isExpandable>

0 commit comments

Comments
 (0)