UNPKG

@visa/nova-react

Version:

Visa Product Design System Nova React library. Compatible with React ^19.

20 lines (19 loc) 690 B
import type { ComponentPropsWithRef, ElementType } from 'react'; export type AvatarProperties<ET extends ElementType = 'span'> = { /** Small Avatar */ small?: boolean; /** Tag of Component */ tag?: ElementType; } & ComponentPropsWithRef<ET>; /** * Icons and/or text representing users or entities. * @docs {@link https://design.visa.com/components/avatar/?code_library=react | See Docs} * @related tab-suffix * @vgar TODO * @wcag TODO */ declare const Avatar: { <ET extends ElementType = "button">({ className, small, tag: Tag, ...remainingProps }: AvatarProperties<ET>): import("react/jsx-runtime").JSX.Element; displayName: string; }; export default Avatar;