platform/packages/ui/src/modals.ts
Vyacheslav Tumanov 649c16fe13
add single store for both popups and tooltip (#5808)
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
2024-06-21 16:38:06 +07:00

6 lines
207 B
TypeScript

import { writable } from 'svelte/store'
import { type CompAndProps } from './popups'
import { type LabelAndProps } from './types'
export const modalStore = writable<Array<LabelAndProps | CompAndProps>>([])