import React from 'react';
import { PopoverProps as MUPopoverProps } from '@material-ui/core';
import { IconButtonProps } from '../Icon-Button';

export interface PopoverProps extends Omit<MUPopoverProps, 'open'> {
  anchor: {
    component: React.ReactNode;
    color?: IconButtonProps['color'];
    style?: React.CSSProperties;
  };
  children: React.ReactNode;
  className?: string;
  style?: React.CSSProperties;
}
