s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All UI components

Feedback and overlays

WorkingStrip

No summary has been written for WorkingStrip. Everything below is generated from the declaration shipped in 0.57.40 and describes the real contract.

Public export

typescript
import { WorkingStrip } from '@happyvertical/smrt-ui/feedback';
Import path
@happyvertical/smrt-ui/feedback
Props
15
Props described
15 of 15
Bindable state
0
Callback events
6
Verified release
0.57.40

Props

NameTypeRequiredDescription
statusWorkingStatusYesWhat is happening.
variant'strip' | 'floating' | 'inline'No`strip` (above a bottom bar), `floating` (a pill), or `inline`.
canStopbooleanNoShow a Stop button while the work runs, is paused, or waits.
onstop() => voidNoStop the work.
onpause() => voidNoPause the work (shows Pause while working; Escape pauses too).
onresume() => voidNoContinue paused work (shows Continue while paused).
onreview() => voidNoOpen what the work is waiting on (shows Review while waiting).
onopen() => voidNoReopen the surface doing the work (strip and floating).
ondismiss() => voidNoHide a finished status (shows Close once done, failed or cancelled).
openLabelstringNoAccessible hint for `onopen` (default "Open").
stopLabelstringNoStop button text (default "Stop").
pauseLabelstringNoPause button text (default "Pause").
resumeLabelstringNoContinue button text (default "Continue").
reviewLabelstringNoReview button text (default "Review").
announceIntervalMsnumberNoMinimum time between two polite step announcements. Default 2000ms.

Bindable state

This component has no bindable public state.

Callback events

  • onstop() => void
  • onpause() => void
  • onresume() => void
  • onreview() => void
  • onopen() => void
  • ondismiss() => void

Examples and explanation