UNPKG

863 BJavaScriptView Raw
1import { __rest } from "tslib";
2import * as React from 'react';
3import { css } from '@patternfly/react-styles';
4import styles from '@patternfly/react-styles/css/components/NotificationDrawer/notification-drawer';
5export const NotificationDrawerListItemBody = (_a) => {
6 var { children, className = '', timestamp } = _a, props = __rest(_a, ["children", "className", "timestamp"]);
7 return (React.createElement(React.Fragment, null,
8 React.createElement("div", Object.assign({}, props, { className: css(styles.notificationDrawerListItemDescription, className) }), children),
9 timestamp && React.createElement("div", { className: css(styles.notificationDrawerListItemTimestamp, className) }, timestamp)));
10};
11NotificationDrawerListItemBody.displayName = 'NotificationDrawerListItemBody';
12//# sourceMappingURL=NotificationDrawerListItemBody.js.map
\No newline at end of file