PromoCursed/node_modules/antd/lib/avatar/group.d.ts
2024-08-20 23:25:37 +04:00

28 lines
956 B
TypeScript

import * as React from 'react';
import type { PopoverProps } from '../popover';
import type { AvatarSize } from './AvatarContext';
export interface GroupProps {
className?: string;
rootClassName?: string;
children?: React.ReactNode;
style?: React.CSSProperties;
prefixCls?: string;
/** @deprecated Please use `max={{ count: number }}` */
maxCount?: number;
/** @deprecated Please use `max={{ style: CSSProperties }}` */
maxStyle?: React.CSSProperties;
/** @deprecated Please use `max={{ popover: PopoverProps }}` */
maxPopoverPlacement?: 'top' | 'bottom';
/** @deprecated Please use `max={{ popover: PopoverProps }}` */
maxPopoverTrigger?: 'hover' | 'focus' | 'click';
max?: {
count?: number;
style?: React.CSSProperties;
popover?: PopoverProps;
};
size?: AvatarSize;
shape?: 'circle' | 'square';
}
declare const Group: React.FC<GroupProps>;
export default Group;