@ovok/native/progress-ring

Progress ring component.

  • Stable unknown
  • Release candidate since 1.16.1-rc.3
  • Development since 1.16.1-dev.2111+9796905

Progress ring component.

Import from @ovok/native/progress-ring.

Components

ProgressRing()

function ProgressRing(__namedParameters): Element;

Circular progress indicator; shows an empty ring when progress is unknown and becomes a button when onPress is set.

Parameters

ParameterType
__namedParametersProgressRingProps

Returns

Element

Type Aliases

ProgressRingProps

type ProgressRingProps = Omit<PressableProps, "accessibilityRole" | "accessibilityValue" | "children" | "style"> & object;

Props for ProgressRing; also accepts the Pressable props except those it controls.

Type Declaration

NameTypeDescription
children?ReactNodeContent rendered in the center of the ring.
color?stringColor of the progress arc.
progress?number | nullProgress from 0 to 1; null or undefined shows an empty ring.
size?numberDiameter of the ring.
strokeWidth?numberThickness of the ring.
style?StyleProp<ViewStyle>Style for the outer container.
trackColor?stringColor of the unfilled track.

Last updated on

On this page