UNPKG

@challenge.day/uikit

Version:

The UI Kit is as suite of UI elements/components implemented according to this [spec](https://www.figma.com/design/BCswG7SnW2HQ4XlQN9liDO/Challenge.day?node-id=3734-4804&m=dev).

14 lines (13 loc) 358 B
import React, { ImgHTMLAttributes } from "react"; interface AvatarProps extends ImgHTMLAttributes<HTMLImageElement> { /** * Whether the image should be fully rounded */ isFullyRounded?: boolean; /** * Image size. Defaults to medium */ size?: "min" | "medium" | "max"; } declare const Avatar: React.FC<AvatarProps>; export default Avatar;