@mantine/spotlight
Version:
Command center components for react and Mantine
13 lines (12 loc) • 534 B
TypeScript
import { GetStylesApi } from '@mantine/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: import("react").Context<SpotlightContextValue | null>, useSpotlightContext: () => SpotlightContextValue;
export {};