StdDlgDeterminateProgressItem
Displays a determinate progress indicator for tasks with a known duration
import { StdDlgDeterminateProgressItem } from "@roku-sdk/components";StdDlgDeterminateProgressItem(props: IStdDlgDeterminateProgressItemProps): JSX.ElementDescription
Displays a determinate progress indicator for tasks with a known duration.
Parameters
| Name | Type | Description |
|---|---|---|
props | IStdDlgDeterminateProgressItemProps |
Example
<stdDlgDeterminateProgressItem percent={65} text="Downloading update…" />Types
IStdDlgDeterminateProgressItemProps
Properties for the StdDlgDeterminateProgressItem component.
Displays a percentage progress indicator for tasks with a known duration.
| Name | Type | Description |
|---|---|---|
percent? | number | Current completion percentage (0–100). See below. |
text? | string | Text displayed next to the progress graphic. Wraps if too wide. |
Extends IStdDlgItemBaseProps.
IStdDlgDeterminateProgressItemProps.percent
Current completion percentage (0–100). Clamped to the 0–100 range.
Note: The Roku documentation defines this as a
string, but the SDK usesnumber
for a more ergonomic API. The value is converted automatically.
Updated about 3 hours ago
What’s Next
Did this page help you?