Merge pull request #4792 from demershov/master

Fix #4791 - BaseIcon: SpinnerIcon component isn't spinning.
pull/4829/head
Tuğçe Küçükoğlu 2023-11-15 19:53:47 +03:00 committed by GitHub
commit 007865a484
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 });
},