office-ui-fabric-react
Version: 
Reusable React components for building experiences for Office 365.
23 lines (22 loc) • 1.07 kB
TypeScript
/// <reference types="react" />
import { BaseComponent } from '../../Utilities';
import { IFacepileProps } from './Facepile.types';
export declare class Facepile extends BaseComponent<IFacepileProps, {}> {
    static defaultProps: IFacepileProps;
    private _ariaDescriptionId;
    constructor(props: IFacepileProps);
    render(): JSX.Element;
    protected onRenderAriaDescription(): "" | JSX.Element | undefined;
    private _getPersonaControl(persona);
    private _getElementWithOnClickEvent(personaControl, persona, index);
    private _getElementWithoutOnClickEvent(personaControl, persona, index);
    private _getOverflowElement(numPersonasToShow);
    private _getDescriptiveOverflowElement(numPersonasToShow);
    private _getIconElement(icon);
    private _getAddNewElement();
    private _onPersonaClick(persona, ev?);
    private _onPersonaMouseMove(persona, ev?);
    private _onPersonaMouseOut(persona, ev?);
    private _renderInitials(iconName, overflowButton?);
    private _renderInitialsNotPictured(numPersonasNotPictured);
}