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 { concat } from '../../utils/array'
5
5
import { keys } from '../../utils/object'
@@ -23,7 +23,7 @@ const btnProps = {
23
23
} ,
24
24
variant : {
25
25
type : String ,
26
- default : ( ) => getConfigComponent ( NAME , 'variant' )
26
+ default : ( ) => getComponentConfig ( NAME , 'variant' )
27
27
} ,
28
28
type : {
29
29
type : String ,
@@ -88,7 +88,7 @@ function isNonStandardTag(props) {
88
88
// Compute required classes (non static classes)
89
89
function computeClass ( props ) {
90
90
return [
91
- `btn-${ props . variant || getConfigComponent ( NAME , 'variant' ) } ` ,
91
+ `btn-${ props . variant || getComponentConfig ( NAME , 'variant' ) } ` ,
92
92
{
93
93
[ `btn-${ props . size } ` ] : Boolean ( props . size ) ,
94
94
'btn-block' : props . block ,
You can’t perform that action at this time.
0 commit comments