ConnectionBadge

import { ConnectionBadge } from '@hanzo/ui/product'

No examples yet.

Types

export type ConnectionBadgeProps = {
/** How the connection was made — "OAuth", "API key". */
method?: string
/** Which connection it is — an account name, a host. */
extra?: string
/** A line under the badge, for anything that needs more than the row. */
info?: ReactNode
onDisconnect: () => void
/** The disconnect is in flight; the button waits rather than repeating. */
disconnecting?: boolean
}

Exports

ConnectionBadgetype ConnectionBadgeProps