index.d.ts 409 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 chen's avatar
jim chen committed
7 8 9 10 11
  children:
    | React.ReactElement<AvatarItem>
    | Array<React.ReactElement<AvatarItem>>;
}

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
}