UNPKG

@serendie/ui

Version:

Adaptive UI component library as part of Serendie Design System by Mitsubishi Electric

41 lines (40 loc) 1.1 kB
import { AvatarRootProps } from '@ark-ui/react'; import { RecipeVariantProps } from '../../../styled-system/css'; export declare const AvatarStyle: import('../../../styled-system/types').SlotRecipeRuntimeFn<"image" | "root" | "fallback", { size: { small: { root: { width: number; height: number; }; fallback: { fontSize: number; }; }; medium: { root: { width: number; height: number; }; fallback: { fontSize: number; }; }; large: { root: { width: number; height: number; }; fallback: { fontSize: number; }; }; }; }>; export type AvatarProps = { src?: string; alt?: string; text?: string; placeholder?: "filled" | "outlined"; } & RecipeVariantProps<typeof AvatarStyle> & AvatarRootProps; export declare const Avatar: React.FC<AvatarProps>;