1 | import { __rest } from "tslib";
|
2 | import * as React from 'react';
|
3 | import styles from '@patternfly/react-styles/css/components/Page/page';
|
4 | import { css } from '@patternfly/react-styles';
|
5 | import { formatBreakpointMods } from '../../helpers/util';
|
6 | import { PageContext } from '../Page/Page';
|
7 | export const PageHeaderToolsGroup = (_a) => {
|
8 | var { children, className, visibility } = _a, props = __rest(_a, ["children", "className", "visibility"]);
|
9 | const { width, getBreakpoint } = React.useContext(PageContext);
|
10 | return (React.createElement("div", Object.assign({ className: css(styles.pageHeaderToolsGroup, formatBreakpointMods(visibility, styles, '', getBreakpoint(width)), className) }, props), children));
|
11 | };
|
12 | PageHeaderToolsGroup.displayName = 'PageHeaderToolsGroup';
|
13 |
|
\ | No newline at end of file |