grommet
Version:
focus on the essential experience
17 lines (12 loc) • 395 B
TypeScript
import * as React from 'react';
import { BoxProps } from '../Box/index';
export interface AvatarProps {
size?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | string;
src?: string;
}
export interface AvatarExtendedProps
extends BoxProps,
AvatarProps,
Omit<JSX.IntrinsicElements['div'], 'onClick'> {}
declare const Avatar: React.FC<AvatarExtendedProps>;
export { Avatar };