Fix #4791 - SpinnerIcon: SpinnerIcon component isn't spinning

pull/4792/head
Dima Ershov 2023-11-10 02:19:31 +03:00
parent 5e341367c2
commit 7e8a4712f1
1 changed files with 3 additions and 0 deletions

View File

@ -1,9 +1,11 @@
<script>
import BaseComponent from 'primevue/basecomponent';
import BaseIconStyle from 'primevue/baseicon/style';
import { ObjectUtils } from 'primevue/utils';
export default {
name: 'BaseIcon',
extends: BaseComponent,
props: {
label: {
type: String,
@ -14,6 +16,7 @@ export default {
default: false
}
},
style: BaseIconStyle,
beforeMount() {
BaseIconStyle.loadStyle({ nonce: this.$config?.csp?.nonce });
},