DurableDashboard.Components.Workflow.Tabs (DurableDashboard v0.1.0-rc)

Copy Markdown View Source

Tab navigation strip for the workflow detail view. Stateless function component — the active tab is derived from @active (the parent LV's live_action or a tab name from handle_params). Each tab links via live_patch to its nested route so switching is a no-remount transition.

Summary

Functions

tabs(assigns)

Attributes

  • base_path (:string) (required)
  • workflow_id (:string) (required)
  • active (:atom) (required)
  • show_family? (:boolean) - Defaults to false.
  • class (:string) - Defaults to nil.