import * as React from 'react'; import styles from '@patternfly/react-styles/css/components/Popover/popover'; import { css } from '@patternfly/react-styles'; export const PopoverPosition = { top: 'top', bottom: 'bottom', left: 'left', right: 'right' }; export const PopoverDialog: React.FunctionComponent = ({ position = 'top', children = null, className = null, ...props }: PopoverDialogProps) => (
{children}
); PopoverDialog.displayName = 'PopoverDialog'; export interface PopoverDialogProps extends React.HTMLProps { /** PopoverDialog position */ position?: 'top' | 'bottom' | 'left' | 'right'; /** PopoverDialog additional class */ className?: string; /** PopoverDialog body */ children: React.ReactNode; }