mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
25 lines
518 B
Vue
25 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>
|