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

35 lines
824 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',
2023-08-01 14:01:12 +00:00
description: 'Used to pass attributes to DOM elements inside the component.'
2023-07-06 13:20:37 +00:00
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
}
];
module.exports = {
terminal: {
2022-09-14 14:26:41 +00:00
name: 'Terminal',
description: 'Terminal is a text based user interface.',
props: TerminalProps
}
};