import * as React from 'react'; import { css } from '@patternfly/react-styles'; import styles from '@patternfly/react-styles/css/components/Popover/popover'; import { Button } from '../Button'; import TimesIcon from '@patternfly/react-icons/dist/esm/icons/times-icon'; export const PopoverCloseButton: React.FunctionComponent = ({ onClose = () => undefined as void, ...props }: PopoverCloseButtonProps) => (
); PopoverCloseButton.displayName = 'PopoverCloseButton'; export interface PopoverCloseButtonProps { /** PopoverCloseButton onClose function */ onClose?: (event: any) => void; /** Aria label for the Close button */ 'aria-label': string; }