10 lines
246 B
TypeScript
10 lines
246 B
TypeScript
import type { Writable } from "svelte/store";
|
|
|
|
export const selectSearchContextKey = Symbol("select-search");
|
|
|
|
export type SelectSearchContext = {
|
|
query: Writable<string>;
|
|
open: Writable<boolean>;
|
|
setOpen: (next: boolean) => void;
|
|
};
|