From 57fa5541787bc7556b798cc54d7106133b33af20 Mon Sep 17 00:00:00 2001 From: MokireddySampath <120497218+MokireddySampath@users.noreply.github.com> Date: Fri, 21 Apr 2023 12:22:55 +0530 Subject: [PATCH] Update TabComponent.tsx --- src/Explorer/Controls/Tabs/TabComponent.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Explorer/Controls/Tabs/TabComponent.tsx b/src/Explorer/Controls/Tabs/TabComponent.tsx index 732c2c9c1..0b683e9f9 100644 --- a/src/Explorer/Controls/Tabs/TabComponent.tsx +++ b/src/Explorer/Controls/Tabs/TabComponent.tsx @@ -18,12 +18,15 @@ interface TabComponentProps { onTabIndexChange: (newIndex: number) => void; hideHeader: boolean; } +interface TabRefs { + [key: string]: HTMLElement; +} /** * We assume there's at least one tab */ export class TabComponent extends React.Component { - tabRefs: any = {}; + private tabRefs: TabRefs = {}; public constructor(props: TabComponentProps) { super(props);