AvatarGroup.d.ts 980 B

123456789101112131415161718192021222324252627
  1. import * as React from 'react';
  2. import type { PopoverProps } from '../popover';
  3. import type { AvatarSize } from './AvatarContext';
  4. export interface AvatarGroupProps {
  5. className?: string;
  6. rootClassName?: string;
  7. children?: React.ReactNode;
  8. style?: React.CSSProperties;
  9. prefixCls?: string;
  10. /** @deprecated Please use `max={{ count: number }}` */
  11. maxCount?: number;
  12. /** @deprecated Please use `max={{ style: CSSProperties }}` */
  13. maxStyle?: React.CSSProperties;
  14. /** @deprecated Please use `max={{ popover: PopoverProps }}` */
  15. maxPopoverPlacement?: 'top' | 'bottom';
  16. /** @deprecated Please use `max={{ popover: PopoverProps }}` */
  17. maxPopoverTrigger?: 'hover' | 'focus' | 'click';
  18. max?: {
  19. count?: number;
  20. style?: React.CSSProperties;
  21. popover?: PopoverProps;
  22. };
  23. size?: AvatarSize;
  24. shape?: 'circle' | 'square';
  25. }
  26. declare const AvatarGroup: React.FC<AvatarGroupProps>;
  27. export default AvatarGroup;