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