Skip to content

IncidentsWidget

Store ops home dashboards showing active incidents. Requires BFF incidents API and auth token.

Without NikeStoreProvider or explicit storeNumber. Non-ServiceNow ticketing.

  • Podium Text
  • Podium Link
  • Podium Skeleton
  • NikeStoreProvider
  • ModuleAnalyticsProvider

Auto-generated from src/components/StoreIncidents/StoreIncidents.tsx. Do not edit by hand. Run pnpm docs:props after changing source JSDoc.

Prop Type Required Description
accessToken null | string Yes SIM user JWT (Okta or Retail) used as Authorization: Bearer <token> on every BFF call. When null, the incident fetch will fail with a 401 — the host should keep this in sync with its auth store.
baseUrl string Yes BFF incidents base URL (e.g. ‘/sim-bff/incidents’)
limit number No Max incidents to display
services IncidentsWidgetServices No Injectable service overrides for Storybook/tests
storeNumber string No Override store number (defaults to NikeStoreProvider context)
import { IncidentsWidget } from '@nike/whisker-component-library';
<IncidentsWidget accessToken={token} baseUrl="/sim-bff/incidents" limit={10} />;