lora-studio / src /lib /stores /use-gallery.ts
enzostvs's picture
enzostvs HF staff
gallery viewer
f05d33c
raw
history blame contribute delete
334 Bytes
import { writable } from "svelte/store";
import type { CommunityCard } from "$lib/type";
interface Props {
open: boolean,
gallery: CommunityCard | undefined,
previous?: string,
next?: string,
}
export const galleryStore = writable<Props>({
open: false,
gallery: undefined,
previous: undefined,
next: undefined,
});