@dfinity/gix-components
Version:
A UI kit developed by the GIX team
11 lines (10 loc) • 320 B
TypeScript
/// <reference types="svelte" />
import type { Writable } from "svelte/store";
export interface SelectedSegment {
id: symbol | undefined;
element: HTMLElement | undefined | null;
}
export interface SegmentContext {
store: Writable<SelectedSegment>;
}
export declare const SEGMENT_CONTEXT_KEY: unique symbol;