primevue-mirror/components/lib/terminal/BaseTerminal.vue

26 lines
498 B
Vue
Raw Normal View History

2023-05-24 12:53:29 +00:00
<script>
import BaseComponent from 'primevue/basecomponent';
import TerminalStyle from 'primevue/terminal/style';
2023-05-24 12:53:29 +00:00
export default {
name: 'BaseTerminal',
extends: BaseComponent,
props: {
welcomeMessage: {
type: String,
default: null
},
prompt: {
type: String,
default: null
}
},
style: TerminalStyle,
provide() {
return {
$parentInstance: this
};
2023-05-24 12:53:29 +00:00
}
};
</script>