UNPKG

@it-corp/vpbank-spotlight

Version:

Command center components for react and VPbank components

16 lines (15 loc) 620 B
import { GetStylesApi } from "@it-corp/vpbank-core"; import { SpotlightStore } from "./spotlight.store"; import type { SpotlightRootFactory } from "./SpotlightRoot"; interface SpotlightContextValue { query: string; setQuery: (query: string) => void; getStyles: GetStylesApi<SpotlightRootFactory>; store: SpotlightStore; closeOnActionTrigger: boolean | undefined; } export declare const SpotlightProvider: ({ children, value }: { value: SpotlightContextValue; children: import("react").ReactNode; }) => import("react").JSX.Element, useSpotlightContext: () => SpotlightContextValue; export {};