mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-21 07:21:46 +01:00
fix(NavigationMenu): highlightColor defaults to color prop
This commit is contained in:
@@ -85,7 +85,7 @@ const ui = computed(() => tv({ extend: navigationMenu, slots: props.ui })({
|
||||
color: props.color,
|
||||
variant: props.variant,
|
||||
highlight: props.highlight,
|
||||
highlightColor: props.highlightColor
|
||||
highlightColor: props.highlightColor || props.color
|
||||
}))
|
||||
|
||||
const lists = computed(() => props.items?.length ? (Array.isArray(props.items[0]) ? props.items : [props.items]) as T[][] : [])
|
||||
|
||||
Reference in New Issue
Block a user