Skip to content

Function: progress()

ts
function progress(props: ProgressProps): Element;

Defined in: src/UI/blocks/progress.tsx:31

Parameters

ParameterTypeDescription
propsProgressPropsConfiguration object

Returns

Element

Deprecated

Use the equivalent block from @matterway/sdk/UI instead. This block targets the old showUI path and will be removed when src/UI/ is dropped.

Progress component for loading.

Examples

Basic usage

progress();

Usage with optional label

progress({
  label: 'Loading data...',
});

Matterway Assistant SDK Documentation