@project44-manifest/react
Version:
Manifest Design System react components
23 lines • 746 B
TypeScript
import * as React from 'react';
import { CSS } from '@project44-manifest/react-styles';
import type { ForwardRefComponent } from '@project44-manifest/react-types';
interface AvatarProps {
/** The alt text passed to the image */
alt?: string;
/** Theme aware style object */
css?: CSS;
/** Name used as a fallback if src is not provided or image cannot be found */
fallback?: React.ReactNode;
/**
* The size of the avatar.
*
* @default 'medium'
*/
size?: 'medium' | 'small';
/** The `src` attribute for the `img` element */
src?: string;
}
declare const Avatar: ForwardRefComponent<"div", AvatarProps>;
export type { AvatarProps };
export { Avatar };
//# sourceMappingURL=avatar.d.ts.map