@vnmfify/core
Version:
```shell npm i @vnmfify/core -S ```
15 lines (14 loc) • 474 B
TypeScript
import { ViewProps } from "@vnxjs/components/types/View";
import { CSSProperties, ReactNode } from "react";
import { AvatarShape, AvatarSize } from "./avatar.shared";
export interface AvatarProps extends ViewProps {
className?: string;
style?: CSSProperties;
src?: string;
alt?: string;
shape?: AvatarShape;
size?: AvatarSize;
children?: ReactNode;
}
declare function Avatar(props: AvatarProps): JSX.Element;
export default Avatar;