Skip to content

Commit

Permalink
Fixed types (#DH-18088)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmingles committed Jan 10, 2025
1 parent cadc22b commit ec5924d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion plugins/ui/src/js/src/elements/TabPanels.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import React from 'react';
import {
ItemElement,
TabPanels as DHCTabPanels,
TabPanelsProps as DHCTabPanelsProps,
} from '@deephaven/components';

export function TabPanels(
props: DHCTabPanelsProps<React.ReactNode>
props: DHCTabPanelsProps<ItemElement | ItemElement[]>
): JSX.Element {
const { UNSAFE_style: unsafeStyle, ...otherProps } = props;

Expand Down
2 changes: 1 addition & 1 deletion plugins/ui/src/js/src/widget/WidgetTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export interface WidgetMessageDetails {
exportedObjects: dh.WidgetExportedObject[];
}

export type WidgetMessageEvent = CustomEvent<WidgetMessageDetails>;
export type WidgetMessageEvent = dh.Event<WidgetMessageDetails>;

export type WidgetFetch = (takeOwnership?: boolean) => Promise<dh.Widget>;

Expand Down

0 comments on commit ec5924d

Please sign in to comment.