Fixed #1836 - For Terminal

pull/1846/head
mertsincan 2021-12-01 23:57:47 +03:00
parent 94195f8c34
commit f30e8bcafb
1 changed files with 36 additions and 5 deletions

View File

@ -1,10 +1,41 @@
interface TerminalProps { import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
welcomeMessage?: string;
prompt?: string; export interface TerminalProps {
/**
* Initial text to display on terminal.
*/
welcomeMessage?: string | undefined;
/**
* Prompt text for each command.
*/
prompt?: string | undefined;
} }
declare class Terminal { export interface TerminalSlots {
$props: TerminalProps;
} }
export declare type TerminalEmits = {
}
declare class Terminal extends ClassComponent<TerminalProps, TerminalSlots, TerminalEmits> { }
declare module '@vue/runtime-core' {
interface GlobalComponents {
Terminal: GlobalComponentConstructor<Terminal>
}
}
/**
*
* Terminal is a text based user interface.
*
* Helper API:
*
* - TerminalService
*
* Demos:
*
* - [Terminal](https://www.primefaces.org/primevue/showcase/#/terminal)
*
*/
export default Terminal; export default Terminal;