@hanzo/ui

OrgMark

import { isEmoji, monogram, OrgMark } from '@hanzo/ui/product'

No examples yet.

Types

export type OrgMarkProps = {
  /** The org to mark — its `logo` wins, else the monogram of its display name. */
  org: Org
  /** Edge of the square tile / height of the logo. Default 22. */
  size?: number
  /**
   * Widest a LOGO may run, for a wordmark that is not square. Omit to keep the
   * logo square like the monogram (a switcher row, an avatar slot).
   */
  maxW?: number
}

Exports

isEmojimonogramOrgMarktype OrgMarkProps