Update TabComponent.tsx
This commit is contained in:
parent
ce3a7debb3
commit
57fa554178
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue