Skip to content

Commit

Permalink
fix: update to use deprecationNotice prop
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmenendez committed Nov 15, 2024
1 parent 77aaa76 commit 3c1c433
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,8 @@ import * as stories from './UserProfileImage.stories';

const DocsPage = () => (
<StoryDocsPage
deprecationNotice="This component is deprecated and will be removed in the next major version. Please migrate to [UserAvatar](?path=/docs/experimental-components-user-avatar-useravatar--docs#migration-from-userprofileimage)."
blocks={[
{
title: 'Deprecation notice',
description:
'This component is deprecated and will be removed in the next major version. Please migrate to [UserAvatar](?path=/docs/experimental-components-user-avatar-useravatar--docs#migration-from-userprofileimage).',
},
{
story: stories.Default,
},
Expand Down

0 comments on commit 3c1c433

Please sign in to comment.