@helpwave/hightide
Version:
helpwave's component and theming library
18 lines (15 loc) • 602 B
text/typescript
import * as react_jsx_runtime from 'react/jsx-runtime';
declare const avtarSizeList: readonly ["tiny", "small", "medium", "large"];
type AvatarSize = typeof avtarSizeList[number];
declare const avatarSizeMapping: Record<AvatarSize, number>;
type AvatarProps = {
avatarUrl: string;
alt: string;
size?: AvatarSize;
className?: string;
};
/**
* A component for showing a profile picture
*/
declare const Avatar: ({ avatarUrl, alt, size, className }: AvatarProps) => react_jsx_runtime.JSX.Element;
export { Avatar, type AvatarProps, type AvatarSize, avatarSizeMapping, avtarSizeList };