Skip to content

Commit ed40308

Browse files
committed
fix(NotificationBadge): add Button.variant to allowed NotificationBadgeVariants
1 parent 526ae27 commit ed40308

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-core/src/components/NotificationBadge/NotificationBadge.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export interface NotificationBadgeProps extends Omit<ButtonProps, 'variant'> {
2929
*/
3030
isExpanded?: boolean;
3131
/** Determines the variant of the notification badge. */
32-
variant?: NotificationBadgeVariant | 'read' | 'unread' | 'attention';
32+
variant?: NotificationBadgeVariant | ButtonProps['variant'] | 'read' | 'unread' | 'attention';
3333
/** Flag indicating whether the notification badge animation should be triggered. Each
3434
* time this prop is true, the animation will be triggered a single time.
3535
*/

0 commit comments

Comments
 (0)