export default function getCloseOnScrollPopup(props) {
  const {
    closeOnScroll,
    closeOnScroll: closeOnScrollPopup
  } = props;
  return closeOnScroll !== undefined ? closeOnScroll : closeOnScrollPopup;
}