mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-22 07:50:36 +01:00
chore(SelectMenu): merge search / searchPlaceholder into searchInput prop
This commit is contained in:
@@ -44,8 +44,8 @@ describe('SelectMenu', () => {
|
||||
['with id', { props: { ...props, id: 'id' } }],
|
||||
['with name', { props: { ...props, name: 'name' } }],
|
||||
['with placeholder', { props: { ...props, placeholder: 'Search...' } }],
|
||||
['with searchPlaceholder', { props: { ...props, searchPlaceholder: 'Filter items...' } }],
|
||||
['without search', { props: { ...props, search: false } }],
|
||||
['without searchInput', { props: { ...props, searchInput: false } }],
|
||||
['with searchInput placeholder', { props: { ...props, searchInput: { placeholder: 'Filter items...' } } }],
|
||||
['with disabled', { props: { ...props, disabled: true } }],
|
||||
['with required', { props: { ...props, required: true } }],
|
||||
['with icon', { props: { ...props, icon: 'i-heroicons-magnifying-glass' } }],
|
||||
|
||||
Reference in New Issue
Block a user