Skip to content

Commit 1010eb9

Browse files
authored
Update badge.js
1 parent fdd08f6 commit 1010eb9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/badge/badge.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { mergeData } from 'vue-functional-data-merge'
2-
import { getConfigComponent } from '../../utils/config'
2+
import { getComponentConfig } from '../../utils/config'
33
import pluckProps from '../../utils/pluck-props'
44
import Link, { propsFactory as linkPropsFactory } from '../link/link'
55

@@ -17,7 +17,7 @@ export const props = {
1717
},
1818
variant: {
1919
type: String,
20-
default: () => getConfigComponent(NAME, 'variant')
20+
default: () => getComponentConfig(NAME, 'variant')
2121
},
2222
pill: {
2323
type: Boolean,
@@ -36,7 +36,7 @@ export default {
3636
const componentData = {
3737
staticClass: 'badge',
3838
class: [
39-
`badge-${props.variant || getConfigComponent(NAME, 'variant')}`,
39+
`badge-${props.variant || getComponentConfig(NAME, 'variant')}`,
4040
{
4141
'badge-pill': Boolean(props.pill),
4242
active: props.active,

0 commit comments

Comments
 (0)