30 lines
614 B
Vue
30 lines
614 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 {
|
|
$parentInstance: this
|
|
};
|
|
}
|
|
};
|
|
</script>
|