Skip to content

Progress Primitive

Shows an indicator representing the advancement status of a task.

Installation

Install the component via your command line.

Terminal window
npx expo install @rn-primitives/progress

Usage

import * as ProgressPrimitive from '@rn-primitives/progress';
function Example() {
return (
<ProgressPrimitive.Root>
<ProgressPrimitive.Indicator />
</ProgressPrimitive.Root>
);
}

Props

Root

Extends View props

PropTypeNote
valuenumber | null | undefined
asChildboolean(optional)
maxnumber(optional)
getValueLabel(value: number, max: number): string(optional)

Indicator

Extends View props

PropTypeNote
asChildboolean(optional)