26 lines
518 B
Vue
26 lines
518 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 {
|
|
$parentInstance: this
|
|
};
|
|
}
|
|
};
|
|
</script>
|