box-ui-elements-test
Version:
Box UI Elements
41 lines (39 loc) • 1.23 kB
Flow
/**
* Flowtype definitions for PresenceAvatarList.tsx
* Generated by Flowgen from a Typescript Definition
* Flowgen v1.10.0
*/
import * as React from "react";
import classNames from "classnames";
import noop from "lodash/noop";
import PresenceAvatar from "./PresenceAvatar";
import PresenceAvatarTooltipContent from "./PresenceAvatarTooltipContent";
import Tooltip, { TooltipPosition } from "../../components/tooltip";
import "./PresenceAvatarList.scss";
export type Collaborator = {
avatarUrl?: string,
id: string,
isActive: boolean,
interactedAt: number,
interactionType: string,
name: string,
profileUrl?: string,
...
};
export type Props = {
avatarAttributes?: React.HTMLAttributes<HTMLDivElement>,
className?: string,
collaborators: Array<Collaborator>,
hideTooltips?: boolean,
maxAdditionalCollaborators?: number,
maxDisplayedAvatars?: number,
onAvatarMouseEnter?: (id: string) => void,
onAvatarMouseLeave?: () => void,
...
};
declare function PresenceAvatarList(
props: Props,
ref: React.Ref<HTMLDivElement>
): React$Node | null;
declare export { PresenceAvatarList as PresenceAvatarListComponent };
declare export default typeof /* NO PRINT IMPLEMENTED: CallExpression */ any;