Skip to content

Commit

Permalink
docs(actionablenotification): clarify hasFocus deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
tay1orjones committed May 3, 2024
1 parent f55a1d5 commit 58c526b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react/src/components/Notification/Notification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 58c526b

Please sign in to comment.