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

26 lines
518 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 {
$parentInstance: this
};
2023-05-25 14:15:19 +00:00
}
};
</script>