@nodeject/ui-components
Version:
UI library for non-trivial components
19 lines (18 loc) • 541 B
TypeScript
/// <reference types="react" />
import { AvatarBtnProps, AvatarSize } from '../avatar/types';
export interface AvatarListProps {
AddUserBtn?: React.ReactNode;
avatarList: AvatarBtnProps[];
onAvatarCountClick?: () => void;
onAddUserClick?: () => void;
size?: AvatarSize;
maxAvatarCount?: number;
whiteBorder?: number;
firstAvatar?: React.ReactNode;
firstAvatarId?: string;
}
export interface AddUserButtonProps {
className?: string;
onClick?: () => void;
size?: AvatarSize;
}