From 0d03a8e22fb9fdf7501f1f21cd0941af2db7d448 Mon Sep 17 00:00:00 2001 From: Taylor Jones Date: Fri, 10 May 2024 09:49:09 -0500 Subject: [PATCH] docs(actionablenotification): clarify hasFocus deprecation message (#16317) --- packages/react/src/components/Notification/Notification.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react/src/components/Notification/Notification.tsx b/packages/react/src/components/Notification/Notification.tsx index 6cd398d21fd5..83ce57ef3ac1 100644 --- a/packages/react/src/components/Notification/Notification.tsx +++ b/packages/react/src/components/Notification/Notification.tsx @@ -847,8 +847,8 @@ export interface ActionableNotificationProps closeOnEscape?: boolean; /** - * @deprecated use StaticNotification once it's available. Issue #15532 - * Specify if focus should be moved to the component when the notification contains actions + * @deprecated This prop will be removed in the next major version, v12. + * Specify if focus should be moved to the component on render. To meet the spec for alertdialog, this must always be true. If you're setting this to false, explore using StaticNotification instead. https://github.com/carbon-design-system/carbon/pull/15532 */ hasFocus?: boolean;