@geist-ui/react
Version:
Modern and minimalist React UI library.
13 lines (12 loc) • 497 B
TypeScript
import React from 'react';
interface Props {
src?: string;
stacked?: boolean;
text?: string;
isSquare?: boolean;
className?: string;
}
declare type NativeAttrs = Omit<Partial<React.ImgHTMLAttributes<any> & React.HTMLAttributes<any>>, keyof Props>;
export declare type AvatarProps = Props & NativeAttrs;
declare const Avatar: React.ForwardRefExoticComponent<Props & NativeAttrs & import("../use-scaleable").ScaleableProps & React.RefAttributes<unknown>>;
export default Avatar;