From 2face84177a00e1fc9555f786d26df5d4f26943c Mon Sep 17 00:00:00 2001 From: George Marshall Date: Tue, 2 May 2023 03:05:08 -0700 Subject: [PATCH] Adding deprecation notice to old Button component (#18908) --- ui/components/ui/button/button.component.js | 10 ++++++++++ ui/components/ui/button/button.stories.js | 18 ++++++++++++++++-- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/ui/components/ui/button/button.component.js b/ui/components/ui/button/button.component.js index b43bafda1..f60a2c4f1 100644 --- a/ui/components/ui/button/button.component.js +++ b/ui/components/ui/button/button.component.js @@ -22,6 +22,16 @@ const typeHash = { raised: CLASSNAME_RAISED, }; +/** + * @deprecated The + <> + + + ); DefaultStory.storyName = 'Default';