This repository was archived by the owner on Mar 27, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
packages/bootstrap-vue-next/src/components/BNav Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ interface BNavProps {
1919 tabs? : Booleanish
2020 tag? : string
2121 vertical? : Booleanish
22+ underline? : Booleanish
2223}
2324
2425const props = withDefaults (defineProps <BNavProps >(), {
@@ -31,6 +32,7 @@ const props = withDefaults(defineProps<BNavProps>(), {
3132 tabs: false ,
3233 tag: ' ul' ,
3334 vertical: false ,
35+ underline: false ,
3436})
3537
3638defineSlots <{
@@ -46,6 +48,7 @@ const smallBoolean = useBooleanish(() => props.small)
4648const tabsBoolean = useBooleanish (() => props .tabs )
4749const verticalBoolean = useBooleanish (() => props .vertical )
4850const alignment = useAlignment (() => props .align )
51+ const underlineBoolean = useBooleanish (() => props .underline )
4952
5053const computedClasses = computed (() => ({
5154 ' nav-tabs' : tabsBoolean .value ,
@@ -58,5 +61,6 @@ const computedClasses = computed(() => ({
5861 ' nav-justified' : ! verticalBoolean .value && justifiedBoolean .value ,
5962 [alignment .value ]: ! verticalBoolean .value && props .align !== undefined ,
6063 ' small' : smallBoolean .value ,
64+ ' nav-underline' : underlineBoolean .value ,
6165}))
6266 </script >
You can’t perform that action at this time.
0 commit comments