clickable-json
Version:
Interactive JSON and JSON CRDT viewer and editor
14 lines (13 loc) • 435 B
TypeScript
import * as React from 'react';
export interface ValueInputProps {
inp?: (el: HTMLInputElement | null) => void;
focus?: boolean;
initialValue?: string;
visible?: boolean;
types?: string[];
initialType?: string;
withType?: boolean;
onSubmit: (value: string, type: string) => void;
onCancel?: React.KeyboardEventHandler<HTMLInputElement>;
}
export declare const ValueInput: React.FC<ValueInputProps>;