We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce05299 commit 84a5d5dCopy full SHA for 84a5d5d
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