mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-25 01:10:40 +01:00
feat(Accordion/Breadcrumb/CommandPalette/ContextMenu/DropdownMenu/NavigationMenu/Tabs): add labelKey prop
This commit is contained in:
@@ -80,6 +80,7 @@ describe('ContextMenu', () => {
|
||||
it.each([
|
||||
// Props
|
||||
['with items', { props }],
|
||||
['with labelKey', { props: { ...props, labelKey: 'icon' } }],
|
||||
['with disabled', { props: { ...props, disabled: true } }],
|
||||
...sizes.map((size: string) => [`with size ${size}`, { props: { ...props, size } }]),
|
||||
['with class', { props: { ...props, class: 'min-w-96' } }],
|
||||
|
||||
Reference in New Issue
Block a user