@atlaskit/profilecard
Version:
A React component to display a card with user information.
10 lines (9 loc) • 501 B
TypeScript
import React from 'react';
import { type AnalyticsWithDurationProps, type ProfileCardAction } from '../../types';
type OverflowButtonsProps = {
actions: ProfileCardAction[];
onItemClick: (action: ProfileCardAction, args: any, event: React.MouseEvent | React.KeyboardEvent, index: number) => void;
} & AnalyticsWithDurationProps;
export declare const ACTION_OVERFLOW_THRESHOLD = 2;
export declare const OverflowProfileCardButtons: (props: OverflowButtonsProps) => React.JSX.Element;
export {};