UNPKG

657 BTypeScriptView Raw
1import * as React from 'react';
2export interface AvatarProps extends React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement> {
3 /** Additional classes added to the Avatar. */
4 className?: string;
5 /** Attribute that specifies the URL of the image for the Avatar. */
6 src?: string;
7 /** Attribute that specifies the alternate text of the image for the Avatar. */
8 alt: string;
9 /** Border to add */
10 border?: 'light' | 'dark';
11 /** Size variant of avatar. */
12 size?: 'sm' | 'md' | 'lg' | 'xl';
13}
14export declare const Avatar: React.FunctionComponent<AvatarProps>;
15//# sourceMappingURL=Avatar.d.ts.map
\No newline at end of file