UNPKG

@gooddata/react-components

Version:

GoodData.UI - A powerful JavaScript library for building analytical applications

15 lines (14 loc) 512 B
import * as React from "react"; import "codemirror/lib/codemirror.css"; import "codemirror/addon/mode/simple"; import "codemirror/addon/edit/matchbrackets"; import "codemirror/addon/display/placeholder"; export interface ISyntaxHighlightingProps { value: string; onChange: (value: string) => void; onCursor?: (from: number, to: number) => void; formatting?: any; customOptions?: any; className?: string; } export declare const SyntaxHighlightingInput: React.FC<ISyntaxHighlightingProps>;