1 | import { __rest } from "tslib";
|
2 | import * as React from 'react';
|
3 | import styles from '@patternfly/react-styles/css/components/Popover/popover';
|
4 | import { css } from '@patternfly/react-styles';
|
5 | export const PopoverPosition = {
|
6 | top: 'top',
|
7 | bottom: 'bottom',
|
8 | left: 'left',
|
9 | right: 'right'
|
10 | };
|
11 | export const PopoverDialog = (_a) => {
|
12 | var { position = 'top', children = null, className = null } = _a, props = __rest(_a, ["position", "children", "className"]);
|
13 | return (React.createElement("div", Object.assign({ className: css(styles.popover, styles.modifiers[position] || styles.modifiers.top, className), role: "dialog", "aria-modal": "true" }, props), children));
|
14 | };
|
15 | PopoverDialog.displayName = 'PopoverDialog';
|
16 |
|
\ | No newline at end of file |