@trellixio/roaster-coffee
Version:
Beans' product component library
15 lines • 538 B
TypeScript
/// <reference types="react" />
interface VisualizerContextValue {
/** The title of the visualizer. */
title: string;
/** Whether the visualizer is currently open or not. */
open: boolean;
/** Opens the visualizer. */
onOpen(): void;
/** Closes the visualizer. */
onClose(): void;
}
export declare const VisualizerProvider: import("react").Provider<VisualizerContextValue>;
export declare const useVisualizerContext: () => VisualizerContextValue;
export {};
//# sourceMappingURL=Visualizer.context.d.ts.map