From da9458fdb431c628b1b86d0f81cf887217c48fcc Mon Sep 17 00:00:00 2001 From: Rebecca Alpert Date: Wed, 17 Jun 2026 15:14:26 -0400 Subject: [PATCH] fix(TrashIcon): Replace TrashIcon with RhUiTrashFillIcon Co-authored-by: Cursor --- packages/react-core/src/components/Form/examples/Form.md | 2 +- .../src/components/Form/examples/FormFieldGroups.tsx | 8 ++++---- packages/react-core/src/demos/CardView/CardView.md | 2 +- .../react-core/src/demos/CardView/examples/CardView.tsx | 4 ++-- packages/react-core/src/demos/PrimaryDetail.md | 2 +- .../examples/PrimaryDetail/PrimaryDetailCardView.tsx | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/packages/react-core/src/components/Form/examples/Form.md b/packages/react-core/src/components/Form/examples/Form.md index e5560cb4df3..702b76fa79a 100644 --- a/packages/react-core/src/components/Form/examples/Form.md +++ b/packages/react-core/src/components/Form/examples/Form.md @@ -25,7 +25,7 @@ propComponents: import { useRef, useEffect, useState } from 'react'; import RhUiErrorFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-error-fill-icon'; import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon'; -import TrashIcon from '@patternfly/react-icons/dist/esm/icons/trash-icon'; +import RhUiTrashFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-trash-fill-icon'; import styles from '@patternfly/react-styles/css/components/Form/form'; ## Examples diff --git a/packages/react-core/src/components/Form/examples/FormFieldGroups.tsx b/packages/react-core/src/components/Form/examples/FormFieldGroups.tsx index 0c595699d30..000ee10c271 100644 --- a/packages/react-core/src/components/Form/examples/FormFieldGroups.tsx +++ b/packages/react-core/src/components/Form/examples/FormFieldGroups.tsx @@ -8,7 +8,7 @@ import { TextInput, Button } from '@patternfly/react-core'; -import TrashIcon from '@patternfly/react-icons/dist/esm/icons/trash-icon'; +import RhUiTrashFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-trash-fill-icon'; export const FormFieldGroups: React.FunctionComponent = () => { const initialValues = { @@ -75,7 +75,7 @@ export const FormFieldGroups: React.FunctionComponent = () => { } />} + actions={