Skip to main content

Variable: SiteCardStatus

const SiteCardStatus: NamedExoticComponent<SiteCardStatusProperties>

Defined in: src/components/Dashboard/SiteCard/SiteCardStatus.tsx:46

Status section component for site card displaying current monitor status.

Features:

  • Visual status indicator using StatusBadge component
  • Monitor type identification in status label
  • Optimized with React.memo to prevent unnecessary re-renders
  • Consistent styling with theme system

Exampleโ€‹

<SiteCardStatus selectedMonitorId="http" status="up" />

Paramโ€‹

Component props

Returnsโ€‹

JSX.Element containing the status badge

Seeโ€‹

StatusBadge For the underlying status display component