We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a710db7 commit 59a00cfCopy full SHA for 59a00cf
src/components/dropdown/dropdown.js
@@ -1,11 +1,14 @@
1
import { stripTags } from '../../utils/html'
2
+import { getConfigComponent } from '../../utils/config'
3
import idMixin from '../../mixins/id'
4
import dropdownMixin from '../../mixins/dropdown'
5
import BButton from '../button/button'
6
7
+const NAME = 'BDropdown'
8
+
9
// @vue/component
10
export default {
- name: 'BDropdown',
11
+ name: NAME,
12
components: { BButton },
13
mixins: [idMixin, dropdownMixin],
14
props: {
@@ -19,7 +22,7 @@ export default {
19
22
},
20
23
variant: {
21
24
type: String,
- default: null
25
+ default: () => getConfigComponent(NAME, 'variant')
26
27
menuClass: {
28
type: [String, Array],
0 commit comments