primevue-mirror/api-generator/components/terminal.js

29 lines
648 B
JavaScript
Raw Normal View History

const TerminalProps = [
{
2022-09-14 14:26:41 +00:00
name: 'welcomeMessage',
type: 'string',
default: 'null',
description: 'Initial text to display on terminal.'
},
{
2022-09-14 14:26:41 +00:00
name: 'prompt',
type: 'string',
default: 'null',
description: 'Prompt text for each command.'
2023-04-24 08:08:08 +00:00
},
{
name: 'pt',
type: 'any',
default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.'
}
];
module.exports = {
terminal: {
2022-09-14 14:26:41 +00:00
name: 'Terminal',
description: 'Terminal is a text based user interface.',
props: TerminalProps
}
};