react-code-block
Version:
Set of unstyled UI components to build powerful code blocks in React.
6 lines (5 loc) • 410 B
TypeScript
import type { ShikiLineContextProps, ShikiRootContextProps } from './types.js';
export declare const ShikiRootContext: import("react").Context<ShikiRootContextProps | undefined>;
export declare const ShikiLineContext: import("react").Context<ShikiLineContextProps | undefined>;
export declare const useRootContext: () => ShikiRootContextProps;
export declare const useLineContext: () => ShikiLineContextProps;