Skip to content

Commit 7cc7a66

Browse files
authored
Update button-close.js
1 parent bab7b5f commit 7cc7a66

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/components/button/button-close.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
import { mergeData } from 'vue-functional-data-merge'
2+
import { getConfigComponent } from '../../utils/config'
3+
4+
const NAME = 'BButtonClose'
25

36
const props = {
47
disabled: {
@@ -11,13 +14,13 @@ const props = {
1114
},
1215
textVariant: {
1316
type: String,
14-
default: null
17+
default: getConfigComponent(NAME, 'textVariant')
1518
}
1619
}
1720

1821
// @vue/component
1922
export default {
20-
name: 'BButtonClose',
23+
name: NAME,
2124
functional: true,
2225
props,
2326
render(h, { props, data, listeners, slots }) {

0 commit comments

Comments
 (0)