Skip to content

JobBits

Small presentational job pieces shared by the task tray and the dashboard Tasks tab: the status glyph and the determinate progress bar.

Functions

ProgressBar()

function ProgressBar(__namedParameters): Element;

Defined in: src/shared/jobs/JobBits.tsx:21

A thin determinate progress bar in the Shu accent.

Parameters

Parameter Type
__namedParameters { percent: number; }
__namedParameters.percent number

Returns

Element


StatusGlyph()

function StatusGlyph(__namedParameters): Element;

Defined in: src/shared/jobs/JobBits.tsx:12

The glyph for a job status.

Parameters

Parameter Type
__namedParameters { status: JobStatus; }
__namedParameters.status JobStatus

Returns

Element