UNPKG

@snowball-tech/fractal

Version:

Fractal's (Snowball's design system) React component library based on RadixUI and PandaCSS

14 lines (11 loc) 379 B
import { AllHTMLAttributes, ReactNode } from 'react'; import { Sizes } from './Avatar.constants.js'; import '../Typography/Typography.constants.js'; interface AvatarProps extends Omit<AllHTMLAttributes<HTMLImageElement>, 'size'> { children?: ReactNode; disabled?: boolean; imageUrl?: string; name?: string; size?: `${Sizes}`; } export type { AvatarProps };