Update TabComponent.tsx

This commit is contained in:
MokireddySampath
2023-04-21 12:22:55 +05:30
committed by GitHub
parent ce3a7debb3
commit 57fa554178

View File

@@ -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<TabComponentProps> {
tabRefs: any = {};
private tabRefs: TabRefs = {};
public constructor(props: TabComponentProps) {
super(props);