mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
feat(NavigationMenu): replace line variant with highlight prop
This commit is contained in:
@@ -84,6 +84,8 @@ describe('NavigationMenu', () => {
|
||||
['with orientation vertical', { props: { ...props, orientation: 'vertical' as const } }],
|
||||
...colors.map((color: string) => [`with color ${color}`, { props: { ...props, color } }]),
|
||||
...variants.map((variant: string) => [`with variant ${variant}`, { props: { ...props, variant } }]),
|
||||
...variants.map((variant: string) => [`with highlight ${variant}`, { props: { ...props, highlight: true, variant } }]),
|
||||
...colors.map((highlightColor: string) => [`with highlight color ${highlightColor}`, { props: { ...props, highlight: true, highlightColor } }]),
|
||||
['with trailingIcon', { props: { ...props, trailingIcon: 'i-heroicons-plus' } }],
|
||||
['with class', { props: { ...props, class: 'w-48' } }],
|
||||
['with ui', { props: { items, ui: { itemLeadingIcon: 'size-4' } } }],
|
||||
|
||||
Reference in New Issue
Block a user