mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-05 14:48:03 +01:00
up
This commit is contained in:
@@ -73,6 +73,7 @@ describe('CommandPalette', () => {
|
||||
['with placeholder', { props: { ...props, placeholder: 'Search...' } }],
|
||||
['with disabled', { props: { ...props, disabled: true } }],
|
||||
['with icon', { props: { ...props, icon: 'i-lucide-terminal' } }],
|
||||
['with inputTrailingIcon', { props: { ...props, inputTrailingIcon: 'i-lucide-settings' } }],
|
||||
['with loading', { props: { ...props, loading: true } }],
|
||||
['with loadingIcon', { props: { ...props, loading: true, loadingIcon: 'i-lucide-loader' } }],
|
||||
['with selectedIcon', { props: { ...props, selectedIcon: 'i-lucide-badge-check', modelValue: groups[2].items[0] } }],
|
||||
@@ -83,6 +84,7 @@ describe('CommandPalette', () => {
|
||||
['with ui', { props: { ...props, ui: { input: '[&>input]:h-10' } } }],
|
||||
// Slots
|
||||
['with empty slot', { props, slots: { empty: () => 'Empty slot' } }],
|
||||
['with input-trailing slot', { props, slots: { 'input-trailing': () => 'Input trailing slot' } }],
|
||||
['with item slot', { props, slots: { item: () => 'Item slot' } }],
|
||||
['with item-leading slot', { props, slots: { 'item-leading': () => 'Item leading slot' } }],
|
||||
['with item-label slot', { props, slots: { 'item-label': () => 'Item label slot' } }],
|
||||
|
||||
Reference in New Issue
Block a user