UNPKG

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