primevue-mirror/components/lib/inlinemessage/BaseInlineMessage.vue

27 lines
554 B
Vue
Raw Normal View History

2023-05-25 14:15:19 +00:00
<script>
import BaseComponent from 'primevue/basecomponent';
import InlineMessageStyle from 'primevue/inlinemessage/style';
2023-05-25 14:15:19 +00:00
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
};
2023-05-25 14:15:19 +00:00
}
};
</script>