Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | /**
* @file HelpContext.types.ts
* @description
* Type definitions and context object for the help system.
* Separated into its own file to comply with Vite's fast refresh requirements.
*/
import * as React from 'react';
/**
* Help context type definition
*/
export interface HelpContextType {
currentTopicId: string | null;
isOpen: boolean;
openHelp: (topicId: string) => void;
closeHelp: () => void;
}
/**
* Create help context with undefined default
*/
export const HelpContext = React.createContext<HelpContextType | undefined>(undefined);
|