Skip to content

Commit 98ff7be

Browse files
committed
refactor: CElementCover - rename centered prop to center
1 parent 5f970c8 commit 98ff7be

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: src/components/element-cover/CElementCover.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div :style="outerContainerStyles">
3-
<div v-if="centered" :style="centeringStyles">
3+
<div v-if="center" :style="centeringStyles">
44
<slot>
55
<CSpinner grow size="lg" color="primary"/>
66
</slot>
@@ -18,7 +18,7 @@ export default {
1818
name: 'CElementCover',
1919
props: {
2020
boundaries: Array,
21-
centered: {
21+
center: {
2222
type: Boolean,
2323
default: true
2424
},

Diff for: src/components/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export declare class CDropdownItem extends CLink {}
151151

152152
export declare class CElementCover extends Vue {
153153
boundaries: Array<{side: string[], query: string }>
154-
centered: boolean
154+
center: boolean
155155
opacity: number
156156
}
157157

0 commit comments

Comments
 (0)