import popups from "../popups";
const getPopupComponent = _ref => {
  let {
    popupComponent,
    layer
  } = _ref;
  const comp = popupComponent || layer.get("popupComponent");
  return typeof comp === "string" ? popups[comp] : comp;
};
export default getPopupComponent;
//# sourceMappingURL=getPopupComponent.js.map