Skip to content

Commit e567368

Browse files
committed
fix: update NodeDetailTabsInfoType to use renderComponent instead of node
1 parent ab2aead commit e567368

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Pages/ResourceBrowser/types.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,7 @@ export interface AdditionalConfirmationModalOptionsProps<T = unknown> {
102102
children?: ReactElement
103103
}
104104

105-
export type NodeDetailTabsInfoType = (Pick<TabProps, 'label' | 'icon'> & { id: string; node: () => JSX.Element })[]
105+
export type NodeDetailTabsInfoType = (Pick<TabProps, 'label' | 'icon'> & {
106+
id: string
107+
renderComponent: () => JSX.Element
108+
})[]

0 commit comments

Comments
 (0)