diff --git a/index.js b/index.js index 6b666bc..e23c5b0 100644 --- a/index.js +++ b/index.js @@ -308,7 +308,7 @@ const init = async (items = [], options = {}, index = 0) => { ); }; -export default (container, options) => { +export const gallery = (container, options) => { const items = []; if (options.single) { items.push(container.href);