office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
28 lines (27 loc) • 953 B
TypeScript
/// <reference types="react" />
import { BaseComponent } from '../../Utilities';
import { ITeachingBubbleProps } from './TeachingBubble.types';
import { DirectionalHint } from '../../common/DirectionalHint';
export interface ITeachingBubbleState {
isTeachingBubbleVisible?: boolean;
}
export declare class TeachingBubbleBase extends BaseComponent<ITeachingBubbleProps, ITeachingBubbleState> {
static defaultProps: {
calloutProps: {
beakWidth: number;
gapSpace: number;
setInitialFocus: boolean;
doNotLayer: boolean;
directionalHint: DirectionalHint;
};
};
rootElement: {
(component: HTMLDivElement | null): void;
current: HTMLDivElement | null;
value: HTMLDivElement | null;
};
private _defaultCalloutProps;
constructor(props: ITeachingBubbleProps);
focus(): void;
render(): JSX.Element;
}