UNPKG

914 BTypeScriptView Raw
1import * as React from 'react';
2import { ITeachingBubbleProps } from './TeachingBubble.types';
3export interface ITeachingBubbleState {
4 isTeachingBubbleVisible?: boolean;
5}
6export declare class TeachingBubbleBase extends React.Component<ITeachingBubbleProps, ITeachingBubbleState> {
7 static defaultProps: {
8 /**
9 * Default calloutProps is deprecated in favor of private `_defaultCalloutProps`.
10 * Remove in next release.
11 * @deprecated In favor of private `_defaultCalloutProps`.
12 */
13 calloutProps: {
14 beakWidth: number;
15 gapSpace: number;
16 setInitialFocus: boolean;
17 doNotLayer: boolean;
18 directionalHint: 12;
19 };
20 };
21 rootElement: React.RefObject<HTMLDivElement>;
22 private _defaultCalloutProps;
23 constructor(props: ITeachingBubbleProps);
24 focus(): void;
25 render(): JSX.Element;
26}