/// import { BaseComponent } from '../../Utilities'; import { IPivotProps } from './Pivot.types'; export interface IPivotState { selectedKey: string | undefined; } /** * Usage: * * * * * * * * * * * * */ export declare class PivotBase extends BaseComponent { private _pivotId; private _focusZone; private _classNames; constructor(props: IPivotProps); /** * Sets focus to the first pivot tab. */ focus(): void; render(): JSX.Element; private _getSelectedKey(linkCollection); /** * Renders the set of links to route between pivots */ private _renderPivotLinks(linkCollection, selectedKey); private _renderPivotLink; private _renderLinkContent; /** * Renders the current Pivot Item */ private _renderPivotItem(linkCollection, itemKey); /** * Gets the set of PivotLinks as arrary of IPivotItemProps * The set of Links is determined by child components of type PivotItem */ private _getPivotLinks(props); /** * Generates the Id for the tab button. */ private _getTabId(itemKey, index); /** * whether the key exists in the pivot items. */ private _isKeyValid(linkCollection, itemKey); /** * Handles the onClick event on PivotLinks */ private _onLinkClick(itemKey, ev); /** * Handle the onKeyPress eventon the PivotLinks */ private _onKeyPress(itemKey, ev); /** * Updates the state with the new selected index */ private _updateSelectedItem(itemKey, ev?); private _getClassNames(props); }