mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-21 15:31:46 +01:00
feat(ContextMenu/DropdownMenu/NavigationMenu): add external-icon prop
Resolves #2996
This commit is contained in:
@@ -96,6 +96,8 @@ describe('NavigationMenu', () => {
|
||||
...variants.map((variant: string) => [`with neutral variant ${variant} highlight`, { props: { ...props, variant, color: 'neutral', highlight: true } }]),
|
||||
...variants.map((variant: string) => [`with neutral variant ${variant} highlight neutral`, { props: { ...props, variant, color: 'neutral', highlight: true, highlightColor: 'neutral' } }]),
|
||||
['with trailingIcon', { props: { ...props, trailingIcon: 'i-lucide-plus' } }],
|
||||
['with externalIcon', { props: { ...props, externalIcon: 'i-lucide-external-link' } }],
|
||||
['without externalIcon', { props: { ...props, externalIcon: false } }],
|
||||
['with unmountOnHide', { props: { ...props, unmountOnHide: false } }],
|
||||
['with as', { props: { ...props, as: 'section' } }],
|
||||
['with class', { props: { ...props, class: 'w-48' } }],
|
||||
|
||||
Reference in New Issue
Block a user