UNPKG

@snowball-tech/fractal

Version:

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

15 lines (12 loc) 406 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; rawChildren?: boolean; size?: `${Sizes}`; } export type { AvatarProps };