AvatarItem.d.ts 373 Bytes
Newer Older
1 2 3 4 5
import React from 'react';

export declare type SizeType = number | 'small' | 'default' | 'large';

export interface AvatarItemProps {
jim's avatar
jim committed
6 7
  tips: React.ReactNode;
  src: string;
8
  size?: SizeType;
jim's avatar
jim committed
9
  style?: React.CSSProperties;
10
  onClick?: () => void;
jim's avatar
jim committed
11 12
}

13 14
export default class AvatarItem extends React.Component<AvatarItemProps, any> {
  constructor(props: AvatarItemProps);
jim's avatar
jim committed
15
}