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