index.d.ts 512 Bytes
Newer Older
陈小聪's avatar
陈小聪 committed
1 2
import React from 'react';
import AvatarItem, { AvatarItemProps, SizeType } from './AvatarItem';
jim chen's avatar
jim chen committed
3

陈小聪's avatar
陈小聪 committed
4 5 6
export interface AvatarListProps {
  Item?: React.ReactElement<AvatarItemProps>;
  size?: SizeType;
7 8
  maxLength?: number;
  excessItemsStyle?: React.CSSProperties;
jim's avatar
jim committed
9
  style?: React.CSSProperties;
陈小聪's avatar
陈小聪 committed
10
  children: React.ReactElement<AvatarItemProps> | Array<React.ReactElement<AvatarItemProps>>;
jim chen's avatar
jim chen committed
11
}
陈小聪's avatar
陈小聪 committed
12
export default class AvatarList extends React.Component<AvatarListProps, any> {
jim's avatar
jim committed
13
  public static Item: typeof AvatarItem;
jim chen's avatar
jim chen committed
14
}