office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
31 lines (30 loc) • 1.43 kB
TypeScript
/// <reference types="react" />
import { BaseComponent } from '../../Utilities';
import { IFacepileProps } from './Facepile.types';
/**
* FacePile with no default styles.
* [Use the `styles` API to add your own styles.](https://github.com/OfficeDev/office-ui-fabric-react/wiki/Component-Styling)
*/
export declare class FacepileBase extends BaseComponent<IFacepileProps, {}> {
static defaultProps: IFacepileProps;
private _ariaDescriptionId;
private _classNames;
constructor(props: IFacepileProps);
render(): JSX.Element;
protected onRenderAriaDescription(): "" | JSX.Element | undefined;
private _onRenderVisiblePersonas(personas, singlePersona);
private _getPersonaControl(persona);
private _getPersonaCoinControl(persona);
private _getElementWithOnClickEvent(personaControl, persona, index);
private _getElementWithoutOnClickEvent(personaControl, persona, index);
private _getElementProps(persona, index);
private _getOverflowElement(personasOverflow);
private _getDescriptiveOverflowElement(personasOverflow);
private _getIconElement(icon);
private _getAddNewElement();
private _onPersonaClick(persona, ev?);
private _onPersonaMouseMove(persona, ev?);
private _onPersonaMouseOut(persona, ev?);
private _renderInitials(iconName, overflowButton?);
private _renderInitialsNotPictured(numPersonasNotPictured);
}