import {forwardRef} from 'react'; import styled from '@emotion/styled'; import {imageStyle} from 'sentry/components/avatar/styles'; import theme from 'sentry/utils/theme'; type Props = { forwardedRef?: React.Ref; round?: boolean; suggested?: boolean; }; type BackgroundAvatarProps = React.ComponentProps<'svg'> & Props; /** * Creates an avatar placeholder that is used when showing multiple * suggested assignees */ const BackgroundAvatar = styled( ({round: _round, forwardedRef, ...props}: BackgroundAvatarProps) => ( ) )` ${imageStyle}; `; BackgroundAvatar.defaultProps = { round: false, suggested: true, }; export default forwardRef((props, ref) => ( ));