Named export
This commit is contained in:
parent
fc74787b78
commit
8eefc3a98c
2
index.js
2
index.js
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue