31 lines
652 B
Vue
31 lines
652 B
Vue
<script>
|
|
import BaseComponent from 'primevue/basecomponent';
|
|
import ProgressSpinnerStyle from 'primevue/progressspinner/style';
|
|
|
|
export default {
|
|
name: 'BaseProgressSpinner',
|
|
extends: BaseComponent,
|
|
props: {
|
|
strokeWidth: {
|
|
type: String,
|
|
default: '2'
|
|
},
|
|
fill: {
|
|
type: String,
|
|
default: 'none'
|
|
},
|
|
animationDuration: {
|
|
type: String,
|
|
default: '2s'
|
|
}
|
|
},
|
|
style: ProgressSpinnerStyle,
|
|
provide() {
|
|
return {
|
|
$pcProgressSpinner: this,
|
|
$parentInstance: this
|
|
};
|
|
}
|
|
};
|
|
</script>
|