sandstone/ProgressButton

Provides Sandstone-themed progress button component.

import ProgressButton from '@enact/sandstone/ProgressButton';

Members

ProgressButtonComponent

The ready-to-use Sandstone-styled ProgressButton.

import ProgressButton from '@enact/sandstone/ProgressButton';

ProgressButtonBaseComponent

Renders a sandstone-styled progress button.

import {ProgressButtonBase} from '@enact/sandstone/ProgressButton';
Properties
css
Object

Customizes the component by mapping the supplied collection of CSS class names to the corresponding internal elements and states of this component.

The following classes are supported:

  • progressButton - The root component class

icon
StringObject

The icon content displayed with progress.

Default: stop
progress
Number

A number between 0 and 1 indicating the proportion of the filled portion of the bar.

Default: 0
showProgress
Boolean

Shows progress instead of text.

size
'large''small'

The size of the progress button.

Default: 'small'
ArrayBooleanFunctionModuleNumberObjectString