From b962c6925bd28f945c5a9a60a42d1e0fc0d8e624 Mon Sep 17 00:00:00 2001 From: David Menendez Date: Fri, 15 Nov 2024 10:34:03 -0600 Subject: [PATCH] fix: use new deprecationNotice prop --- .../src/components/EmptyStates/EmptyStateV2.stories.jsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/ibm-products/src/components/EmptyStates/EmptyStateV2.stories.jsx b/packages/ibm-products/src/components/EmptyStates/EmptyStateV2.stories.jsx index 7d75b9bfba..bc6ab4f4da 100644 --- a/packages/ibm-products/src/components/EmptyStates/EmptyStateV2.stories.jsx +++ b/packages/ibm-products/src/components/EmptyStates/EmptyStateV2.stories.jsx @@ -31,13 +31,7 @@ export default { label: 'Carbon empty pattern usage guidelines', }, ]} - blocks={[ - { - title: 'Deprecation notice', - description: - 'This component is deprecated and will be removed in the next major version. For more information, please refer to the [Carbon docs](https://carbondesignsystem.com/patterns/empty-states-pattern/).', - }, - ]} + deprecationNotice="This component is deprecated and will be removed in the next major version. For more information, please refer to the [Carbon docs](https://carbondesignsystem.com/patterns/empty-states-pattern/)." /> ), },