20 lines
524 B
TypeScript
20 lines
524 B
TypeScript
import * as React from 'react';
|
|
import { StandardProps } from '..';
|
|
|
|
export interface AvatarProps
|
|
extends StandardProps<React.HTMLAttributes<HTMLDivElement>, AvatarClassKey> {
|
|
alt?: string;
|
|
childrenClassName?: string;
|
|
component?: React.ReactType<AvatarProps>;
|
|
imgProps?: React.HtmlHTMLAttributes<HTMLImageElement>;
|
|
sizes?: string;
|
|
src?: string;
|
|
srcSet?: string;
|
|
}
|
|
|
|
export type AvatarClassKey = 'root' | 'colorDefault' | 'img';
|
|
|
|
declare const Avatar: React.ComponentType<AvatarProps>;
|
|
|
|
export default Avatar;
|