import BaseAvatar from 'sentry/components/avatar/baseAvatar'; import {OrganizationSummary} from 'sentry/types'; import {explodeSlug} from 'sentry/utils'; type Props = { organization?: OrganizationSummary; } & Omit; const OrganizationAvatar = ({organization, ...props}: Props) => { if (!organization) { return null; } const slug = (organization && organization.slug) || ''; const title = explodeSlug(slug); return ( ); }; export default OrganizationAvatar;