Skip to content

Commit 4f39159

Browse files
authored
Card Demos: Aggregate Status, Status Tabbed, Status (#6206)
* demos(Card): add aggregate status card * demos(Card): add status tabbed card * chore(Card): add status, status tabbed demos * fix(Card): fix doc build errors * fix(Card): move demos to parent MD file * fix(Card): use css vars, alignment issues * fix(Card): icon alignment * fix(Card): change spinner to check * fix(Card): dup keys and a11y * fix(Card): a11y
1 parent e7bbbb5 commit 4f39159

File tree

2 files changed

+578
-5
lines changed

2 files changed

+578
-5
lines changed

packages/react-core/src/components/NotificationDrawer/NotificationDrawerGroup.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import maxLines from '@patternfly/react-tokens/dist/esm/c_notification_drawer__g
88
import { Badge } from '../Badge';
99
import { Tooltip } from '../Tooltip';
1010

11-
export interface NotificationDrawerGroupProps extends React.HTMLProps<HTMLElement> {
11+
export interface NotificationDrawerGroupProps extends Omit<React.HTMLProps<HTMLDivElement>, 'title'> {
1212
/** Content rendered inside the group */
1313
children?: React.ReactNode;
1414
/** Additional classes added to the group */
@@ -22,7 +22,7 @@ export interface NotificationDrawerGroupProps extends React.HTMLProps<HTMLElemen
2222
/** Callback for when group button is clicked to expand */
2323
onExpand?: (event: any, value: boolean) => void;
2424
/** Notification drawer group title */
25-
title: string;
25+
title: string | React.ReactNode;
2626
/** Truncate title to number of lines */
2727
truncateTitle?: number;
2828
/** Position of the tooltip which is displayed if text is truncated */

0 commit comments

Comments
 (0)