Skip to content

Commit

Permalink
Fixed ComboBox props type (deephaven#2074)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmingles committed Jun 27, 2024
1 parent a00f3d9 commit 02ef744
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions packages/jsapi-components/src/spectrum/ComboBox.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
import { ComboBoxNormalized } from '@deephaven/components';
import { dh as DhType } from '@deephaven/jsapi-types';
import {
ComboBoxNormalized,
NormalizedItem,
SpectrumComboBoxProps,
} from '@deephaven/components';
import { PickerWithTableProps } from './PickerProps';
import { usePickerProps } from './utils';

export interface ComboBoxProps {
table: DhType.Table;
}
export type ComboBoxProps = PickerWithTableProps<
SpectrumComboBoxProps<NormalizedItem>
>;

export function ComboBox(props: ComboBoxProps): JSX.Element {
const pickerProps = usePickerProps(props);
Expand Down

0 comments on commit 02ef744

Please sign in to comment.