We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ce05299 + 84a5d5d commit 299a5e5Copy full SHA for 299a5e5
packages/flourish-ui/src/components/Autocomplete/index.tsx
@@ -12,15 +12,15 @@ import { Testable } from '../../common-props'
12
import './Autocomplete.scss'
13
14
export interface AutocompleteProps<T extends object>
15
- extends ComboBoxProps<T>,
+ extends Pick<ComboBoxProps<T>, 'children' | 'onSelectionChange'>,
16
Testable {
17
/** Accessible label for the component */
18
label: string
19
}
20
21
-export interface AutocompleteItemProps extends ListBoxItemProps, Testable {
22
-
23
-}
+export interface AutocompleteItemProps
+ extends Pick<ListBoxItemProps, 'children' | 'id'>,
+ Testable {}
24
25
export const AutocompleteItem = ({
26
'data-testId': testId,
0 commit comments