PgFlowDashboard.Components.HealthBadge (PgFlow v0.1.0)

Copy Markdown View Source

Health status badge component for workers.

Summary

Functions

Renders a health status badge.

Functions

health_badge(assigns)

Renders a health status badge.

Attributes

  • :status - The health status ("healthy", "stale", "dead")
  • :size - Badge size (:sm, :md). Default: :md

Attributes

  • status (:string) (required)
  • size (:atom) - Defaults to :md. Must be one of :sm, or :md.