File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
import { mergeData } from 'vue-functional-data-merge'
2
- import { getConfigComponent } from '../../utils/config'
2
+ import { getComponentConfig } from '../../utils/config'
3
3
import pluckProps from '../../utils/pluck-props'
4
4
import Link , { propsFactory as linkPropsFactory } from '../link/link'
5
5
@@ -17,7 +17,7 @@ export const props = {
17
17
} ,
18
18
variant : {
19
19
type : String ,
20
- default : ( ) => getConfigComponent ( NAME , 'variant' )
20
+ default : ( ) => getComponentConfig ( NAME , 'variant' )
21
21
} ,
22
22
pill : {
23
23
type : Boolean ,
@@ -36,7 +36,7 @@ export default {
36
36
const componentData = {
37
37
staticClass : 'badge' ,
38
38
class : [
39
- `badge-${ props . variant || getConfigComponent ( NAME , 'variant' ) } ` ,
39
+ `badge-${ props . variant || getComponentConfig ( NAME , 'variant' ) } ` ,
40
40
{
41
41
'badge-pill' : Boolean ( props . pill ) ,
42
42
active : props . active ,
You can’t perform that action at this time.
0 commit comments