import React, { memo, forwardRef } from 'react'; import Box from '../../primitives/Box'; import { usePropsResolution } from '../../../hooks/useThemeProps'; import type { IAvatarBadgeProps } from './types'; const AvatarBadge = memo( forwardRef((props: IAvatarBadgeProps, ref?: any) => { const { boxSize, ...newProps } = usePropsResolution('AvatarBadge', props); return ( ); }) ); AvatarBadge.displayName = 'AvatarBadge'; export default AvatarBadge as (props: IAvatarBadgeProps, ref?: any) => any;