Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
import { Popper } from '@scaleflex/ui/core';
import Styled from './FilterPopup.styled';
import { jsx as _jsx } from "react/jsx-runtime";
var FilterPopup = function FilterPopup(_ref) {
  var open = _ref.open,
    anchor = _ref.anchor,
    children = _ref.children,
    onRequestClose = _ref.onRequestClose;
  return /*#__PURE__*/_jsx(Popper, {
    className: "filerobot-Provider-Filters-FilterMenu",
    open: open,
    anchorEl: anchor,
    overlay: true,
    onClick: onRequestClose,
    position: "bottom-start",
    popperOptions: {
      modifiers: [{
        name: 'offset',
        options: {
          offset: [5, 0]
        }
      }, {
        name: 'preventOverflow',
        options: {
          padding: 24
        }
      }]
    },
    children: /*#__PURE__*/_jsx(Styled.PopupWrapper, {
      children: children
    })
  });
};
export default FilterPopup;