Debian Codegraph @

node/@patternfly/react-core/src/components/NotificationDrawer/NotificationDrawerGroupList.tsx

raw
1 import { css } from '@patternfly/react-styles';
2 import styles from '@patternfly/react-styles/css/components/NotificationDrawer/notification-drawer';
3
4 export interface NotificationDrawerGroupListProps extends React.HTMLProps<HTMLDivElement> {
5 /** Content rendered inside the notification drawer list body */
6 children?: React.ReactNode;
7 /** Additional classes added to the notification drawer list body */
8 className?: string;
9 }
10
11 export const NotificationDrawerGroupList: React.FunctionComponent<NotificationDrawerGroupListProps> = ({
12 children,
13 className = '',
14 ...props
15 }: NotificationDrawerGroupListProps) => (
16 <div {...props} className={css(styles.notificationDrawerGroupList, className)}>
17 {children}
18 </div>
19 );
20 NotificationDrawerGroupList.displayName = 'NotificationDrawerGroupList';