import type { AvatarBasePropsShared } from "@metamask/design-system-shared"; import type { ComponentProps } from "react"; import type { TextProps } from "../Text/index.cjs"; export type AvatarBaseProps = ComponentProps<'div'> & AvatarBasePropsShared & { /** * Optional test id for querying in tests. */ 'data-testid'?: string; /** * Optional props to be passed to the Text component when rendering fallback text * Only used when fallbackText is provided and no children */ fallbackTextProps?: Partial & TextProps>; /** * Optional boolean that determines if the component should merge its props onto its immediate child * instead of rendering a div element * * @default false */ asChild?: boolean; }; //# sourceMappingURL=AvatarBase.types.d.cts.map