Skip to content

Commit

Permalink
Support base-color in bottom nav
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwu9145 committed Jan 24, 2024
1 parent 834fd6b commit f44452c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import { convertToUnit, genericComponent, propsFactory, useRender } from '@/util
import type { GenericProps } from '@/util'

export const makeVBottomNavigationProps = propsFactory({
baseColor: String,
bgColor: String,
color: String,
grow: Boolean,
Expand Down Expand Up @@ -99,6 +100,7 @@ export const VBottomNavigation = genericComponent<new <T>(

provideDefaults({
VBtn: {
baseColor: toRef(props, 'baseColor'),
color: toRef(props, 'color'),
density: toRef(props, 'density'),
stacked: computed(() => props.mode !== 'horizontal'),
Expand Down

0 comments on commit f44452c

Please sign in to comment.