UNPKG

higlass

Version:

HiGlass Hi-C / genomic / large data viewer

54 lines (53 loc) 1.68 kB
declare const _default: typeof ViewConfigEditor; export default _default; declare class ViewConfigEditor extends React.Component<any, any, any> { constructor(props: any); state: { code: any; hide: boolean; showLog: boolean; logMsgs: { type: string; msg: any; }[]; }; handleChangeBound: (code: any) => void; handleKeyDownBound: (event: any) => void; handleKeyUpBound: (event: any) => void; handleSubmitBound: (event: any) => void; hideBound: () => void; showBound: () => void; toggleLogBound: () => void; pubSubs: any[]; componentDidMount(): Promise<void>; componentWillUnmount(): void; handleChange(code: any): void; handleKeyDown(event: any): void; handleKeyUp(event: any): void; handleSubmit(event: any): void; getLogMsgs(code: any): { type: string; msg: any; }[]; hide(): void; show(): void; hideLog(): void; showLog(): void; toggleLog(): void; render(): React.JSX.Element; editorWrap: HTMLDivElement | null | undefined; editor: Editor | null | undefined; } declare namespace ViewConfigEditor { namespace propTypes { let modal: PropTypes.Validator<object>; let onCancel: PropTypes.Validator<(...args: any[]) => any>; let onChange: PropTypes.Validator<(...args: any[]) => any>; let onSave: PropTypes.Validator<(...args: any[]) => any>; let pubSub: PropTypes.Validator<object>; let viewConfig: PropTypes.Validator<string>; } } import React from 'react'; import Editor from 'react-simple-code-editor'; import PropTypes from 'prop-types';