import {Fancybox} from "@fancyapps/ui";

const fancyBox = () => {
    Fancybox.bind("[data-fancybox]", {
        contentClick: "iterateZoom",
        Images: {
            Panzoom: {
                maxScale: 2.5,
            },
        },
        Toolbar: {
            display: {
                left: [],
                middle: [],
                right: ["close"],
            },
        },
    });

}

export {fancyBox}
