Named export

This commit is contained in:
Valentin Silytuin 2025-01-21 15:43:30 +04:00
parent fc74787b78
commit 8eefc3a98c
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ const init = async (items = [], options = {}, index = 0) => {
); );
}; };
export default (container, options) => { export const gallery = (container, options) => {
const items = []; const items = [];
if (options.single) { if (options.single) {
items.push(container.href); items.push(container.href);