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