Spaces:
Running
Running
| 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, | |
| }); | |