/********************************************************************* * Copyright (c) Intel Corporation 2019 * SPDX-License-Identifier: Apache-2.0 **********************************************************************/ /** * Terminal Component * * Wrapper component for xterm.js that handles: * - Mounting the terminal to the DOM * - Keyboard input (including Ctrl+C, Ctrl+V, Backspace) * - Copy/paste functionality * * This component receives an xterm instance from the parent Sol component * and attaches it to a div element. */ import React from 'react'; import { Terminal } from '@xterm/xterm'; export interface IPropTerminal { handleKeyPress: (data: string) => void; xterm: Terminal; containerClassName?: string; containerStyle?: React.CSSProperties; xtermClassName?: string; xtermStyle?: React.CSSProperties; } export declare const Term: React.FC; export default Term; //# sourceMappingURL=Terminal.d.ts.map