From ed403083bbac6943546f2701b5a0a63b96275b27 Mon Sep 17 00:00:00 2001 From: logonoff Date: Wed, 15 Oct 2025 16:44:34 -0400 Subject: [PATCH] fix(NotificationBadge): add `Button.variant` to allowed `NotificationBadgeVariant`s --- .../src/components/NotificationBadge/NotificationBadge.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-core/src/components/NotificationBadge/NotificationBadge.tsx b/packages/react-core/src/components/NotificationBadge/NotificationBadge.tsx index c703aaef1dd..9a26d457a69 100644 --- a/packages/react-core/src/components/NotificationBadge/NotificationBadge.tsx +++ b/packages/react-core/src/components/NotificationBadge/NotificationBadge.tsx @@ -29,7 +29,7 @@ export interface NotificationBadgeProps extends Omit { */ isExpanded?: boolean; /** Determines the variant of the notification badge. */ - variant?: NotificationBadgeVariant | 'read' | 'unread' | 'attention'; + variant?: NotificationBadgeVariant | ButtonProps['variant'] | 'read' | 'unread' | 'attention'; /** Flag indicating whether the notification badge animation should be triggered. Each * time this prop is true, the animation will be triggered a single time. */