@hanzo/ui

Match

import { SAFE, ASK, ASK_GROUP, askOp, match, survivors, rows } from '@hanzo/ui/product'

No examples yet.

Types

export interface Op {
  /** Stable identity. The registry's operationId, or a surface-local name. */
  id: string
  /** The heading it files under — a service ("projects"), or a surface's own. */
  group: string
  /** What it is called: the operation token ("deployments-list"), or a phrase. */
  label: string
  /** One line of help. The operation's summary, when it has one. */
  hint?: string
  /** The HTTP method, when this names a route. Absent means it runs in the page. */
  method?: string
  /** Drawn at the start of the row. */
  icon?: ReactNode
  /** Drawn at the end of the row — a status dot, a shortcut. */
  end?: ReactNode
}

Exports

SAFEASKASK_GROUPaskOpmatchsurvivorsrowstype Op