Merge pull request #4792 from demershov/master
Fix #4791 - BaseIcon: SpinnerIcon component isn't spinning.pull/4829/head
commit
007865a484
|
@ -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 });
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue