Files
cobalt/web/src/lib/state/omnibox.ts
wukko 91f5d63b93 web/DownloadButton: extract api interaction logic into a lib
download button state is now stored, well, in a state
2025-01-29 16:35:43 +06:00

6 lines
225 B
TypeScript

import { writable } from "svelte/store";
import type { CobaltDownloadButtonState } from "$lib/types/omnibox";
export const link = writable("");
export const downloadButtonState = writable<CobaltDownloadButtonState>("idle");