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({ open: false, gallery: undefined, previous: undefined, next: undefined, });