UNPKG

@metamask/design-system-react-native

Version:
23 lines 755 B
import type { AvatarIconSeverity } from "../../types/index.mjs"; import type { AvatarBaseProps } from "../AvatarBase/index.mjs"; import type { IconName, IconProps } from "../Icon/index.mjs"; /** * AvatarIcon component props. */ export type AvatarIconProps = { /** * Optional prop to control the severity of the avatar * * @default AvatarIconSeverity.Neutral */ severity?: AvatarIconSeverity; /** * Optional prop to specify an icon to show */ iconName: IconName; /** * Optional prop to pass additional properties to the icon */ iconProps?: Omit<IconProps, 'name'>; } & Omit<AvatarBaseProps, 'children' | 'fallbackText' | 'fallbackTextProps'>; //# sourceMappingURL=AvatarIcon.types.d.mts.map