mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-20 15:01:46 +01:00
feat(ContextMenu/DropdownMenu/NavigationMenu): add external-icon prop
Resolves #2996
This commit is contained in:
@@ -94,6 +94,8 @@ describe('DropdownMenu', () => {
|
||||
['with disabled', { props: { ...props, disabled: true } }],
|
||||
['with arrow', { props: { ...props, arrow: true } }],
|
||||
...sizes.map((size: string) => [`with size ${size}`, { props: { ...props, size } }]),
|
||||
['with externalIcon', { props: { ...props, externalIcon: 'i-lucide-external-link' } }],
|
||||
['without externalIcon', { props: { ...props, externalIcon: false } }],
|
||||
['with class', { props: { ...props, class: 'min-w-96' } }],
|
||||
['with ui', { props: { ...props, ui: { itemLeadingIcon: 'size-4' } } }],
|
||||
// Slots
|
||||
|
||||
Reference in New Issue
Block a user