import BadgeDisplayName from 'sentry/components/idBadge/badgeDisplayName'; import BaseBadge from 'sentry/components/idBadge/baseBadge'; type BaseBadgeProps = React.ComponentProps; type Team = NonNullable; export interface BadgeProps extends Partial> { team: Team; // If true, will use default max-width, or specify one as a string hideOverflow?: boolean | string; } const Badge = ({hideOverflow = true, team, ...props}: BadgeProps): React.ReactElement => ( {`#${team.slug}`} } team={team} {...props} /> ); export default Badge;