1 | import * as React from "react";
|
2 | import { AbstractPureComponent2 } from "../../common";
|
3 | import { TabProps, TabId } from "./tab";
|
4 | export declare type TabTitleProps = ITabTitleProps;
|
5 |
|
6 | export interface ITabTitleProps extends TabProps {
|
7 |
|
8 | onClick: (id: TabId, event: React.MouseEvent<HTMLElement>) => void;
|
9 |
|
10 | parentId: TabId;
|
11 |
|
12 | selected: boolean;
|
13 | }
|
14 | export declare class TabTitle extends AbstractPureComponent2<TabTitleProps> {
|
15 | static displayName: string;
|
16 | render(): JSX.Element;
|
17 | private handleClick;
|
18 | }
|
19 | export declare function generateTabPanelId(parentId: TabId, tabId: TabId): string;
|
20 | export declare function generateTabTitleId(parentId: TabId, tabId: TabId): string;
|