office-ui-fabric-react
Version: 
Reusable React components for building experiences for Office 365.
22 lines (21 loc) • 774 B
TypeScript
import * as React from 'react';
import { DirectionalHint } from 'office-ui-fabric-react/lib/Callout';
import './CalloutExample.scss';
export interface ICalloutDirectionalExampleState {
    isCalloutVisible?: boolean;
    directionalHint?: DirectionalHint;
    isBeakVisible?: boolean;
    gapSpace?: number;
    beakWidth?: number;
}
export declare class CalloutDirectionalExample extends React.Component<any, ICalloutDirectionalExampleState> {
    private _menuButtonElement;
    constructor();
    render(): JSX.Element;
    private _onCalloutDismiss();
    private _onShowMenuClicked();
    private _onShowBeakChange(ev, isVisible);
    private _onDirectionalChanged(option);
    private _onGapSlider(value);
    private _onBeakWidthSlider(value);
}