index.d.ts 463 Bytes
Newer Older
jim's avatar
jim committed
1 2
import * as React from 'react';
import AvatarItem from './AvatarItem';
jim chen's avatar
jim chen committed
3

jim's avatar
jim committed
4 5
export interface IAvatarListProps {
  size?: 'large' | 'small' | 'mini' | 'default';
6 7
  maxLength?: number;
  excessItemsStyle?: React.CSSProperties;
jim's avatar
jim committed
8
  style?: React.CSSProperties;
jim's avatar
jim committed
9
  children: React.ReactElement<AvatarItem> | Array<React.ReactElement<AvatarItem>>;
jim chen's avatar
jim chen committed
10 11
}

jim's avatar
jim committed
12 13
export default class AvatarList extends React.Component<IAvatarListProps, any> {
  public static Item: typeof AvatarItem;
jim chen's avatar
jim chen committed
14
}