Debian Codegraph @

node/@patternfly/react-core/dist/js/components/NotificationDrawer/NotificationDrawerGroup.d.ts

raw
1 /// <reference types="react" />
2 import { TooltipPosition } from '../Tooltip';
3 export interface NotificationDrawerGroupProps extends Omit<React.HTMLProps<HTMLDivElement>, 'title'> {
4 /** Content rendered inside the group */
5 children?: React.ReactNode;
6 /** Additional classes added to the group */
7 className?: string;
8 /** Notification drawer group count */
9 count: number;
10 /** Adds styling to the group to indicate expanded state */
11 isExpanded: boolean;
12 /** Adds styling to the group to indicate whether it has been read */
13 isRead?: boolean;
14 /** Callback for when group button is clicked to expand */
15 onExpand?: (event: any, value: boolean) => void;
16 /** Notification drawer group title */
17 title: React.ReactNode;
18 /** Truncate title to number of lines */
19 truncateTitle?: number;
20 /** Position of the tooltip which is displayed if text is truncated */
21 tooltipPosition?: TooltipPosition | 'auto' | 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
22 /** Sets the heading level to use for the group title. Default is h1. */
23 headingLevel?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
24 }
25 export declare const NotificationDrawerGroup: React.FunctionComponent<NotificationDrawerGroupProps>;
26 //# sourceMappingURL=NotificationDrawerGroup.d.ts.map