index.d.ts 399 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';
jim's avatar
jim committed
6
  style?: React.CSSProperties;
jim's avatar
jim committed
7
  children: React.ReactElement<AvatarItem> | Array<React.ReactElement<AvatarItem>>;
jim chen's avatar
jim chen committed
8 9
}

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