This repository was archived by the owner on Mar 27, 2025. It is now read-only.
File tree 1 file changed +4
-0
lines changed
packages/bootstrap-vue-next/src/components/BNav
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ interface BNavProps {
19
19
tabs? : Booleanish
20
20
tag? : string
21
21
vertical? : Booleanish
22
+ underline? : Booleanish
22
23
}
23
24
24
25
const props = withDefaults (defineProps <BNavProps >(), {
@@ -31,6 +32,7 @@ const props = withDefaults(defineProps<BNavProps>(), {
31
32
tabs: false ,
32
33
tag: ' ul' ,
33
34
vertical: false ,
35
+ underline: false ,
34
36
})
35
37
36
38
defineSlots <{
@@ -46,6 +48,7 @@ const smallBoolean = useBooleanish(() => props.small)
46
48
const tabsBoolean = useBooleanish (() => props .tabs )
47
49
const verticalBoolean = useBooleanish (() => props .vertical )
48
50
const alignment = useAlignment (() => props .align )
51
+ const underlineBoolean = useBooleanish (() => props .underline )
49
52
50
53
const computedClasses = computed (() => ({
51
54
' nav-tabs' : tabsBoolean .value ,
@@ -58,5 +61,6 @@ const computedClasses = computed(() => ({
58
61
' nav-justified' : ! verticalBoolean .value && justifiedBoolean .value ,
59
62
[alignment .value ]: ! verticalBoolean .value && props .align !== undefined ,
60
63
' small' : smallBoolean .value ,
64
+ ' nav-underline' : underlineBoolean .value ,
61
65
}))
62
66
</script >
You can’t perform that action at this time.
0 commit comments