clickable-json
Version:
Interactive JSON and JSON CRDT viewer and editor
11 lines (10 loc) • 348 B
TypeScript
import * as React from 'react';
export interface InputContextValue {
/** Whether any input on the page is focused. */
focused: boolean;
}
export declare const context: React.Context<InputContextValue>;
export declare const useInput: () => InputContextValue;
export declare const InputProvider: React.FC<{
children: React.ReactNode;
}>;