27 lines
554 B
Vue
27 lines
554 B
Vue
<script>
|
|
import BaseComponent from 'primevue/basecomponent';
|
|
import InlineMessageStyle from 'primevue/inlinemessage/style';
|
|
|
|
export default {
|
|
name: 'BaseInlineMessage',
|
|
extends: BaseComponent,
|
|
props: {
|
|
severity: {
|
|
type: String,
|
|
default: 'error'
|
|
},
|
|
icon: {
|
|
type: String,
|
|
default: undefined
|
|
}
|
|
},
|
|
style: InlineMessageStyle,
|
|
provide() {
|
|
return {
|
|
$pcInlineMessage: this,
|
|
$parentInstance: this
|
|
};
|
|
}
|
|
};
|
|
</script>
|