@pomegranate-ui/maracuya-ui
Version:
Maracuya is a design system built with React, Typescript & emotion
19 lines (18 loc) • 573 B
TypeScript
/**
* File Name: Avatar
*/
/** @jsx jsx */
import React from 'react';
import { ICoreBase } from '../../core';
export interface Iavatar extends ICoreBase {
color?: Color;
ariaLabel?: string;
src?: string;
initials?: string;
size?: Size;
alt?: string;
}
declare type Color = "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "light" | "dark";
declare type Size = 'small' | 'medium' | 'large';
export declare const Avatar: React.ForwardRefExoticComponent<Iavatar & React.RefAttributes<HTMLDivElement>>;
export {};