primevue-mirror/components/lib/confirmpopup/BaseConfirmPopup.vue

36 lines
763 B
Vue
Raw Normal View History

2023-05-29 18:41:50 +00:00
<script>
import BaseComponent from 'primevue/basecomponent';
import ConfirmPopupStyle from 'primevue/confirmpopup/style';
2023-05-29 18:41:50 +00:00
export default {
name: 'BaseConfirmPopup',
extends: BaseComponent,
props: {
group: String,
rejectButtonProps: {
type: Object,
default() {
return {
size: 'small',
text: true
};
}
},
acceptButtonProps: {
type: Object,
default() {
return {
size: 'small'
};
}
}
2023-05-29 18:41:50 +00:00
},
style: ConfirmPopupStyle,
provide() {
return {
$parentInstance: this
};
2023-05-29 18:41:50 +00:00
}
};
</script>