@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
| Parameter | Type |
|---|---|
__namedParameters | ProgressRingProps |
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
| Name | Type | Description |
|---|---|---|
children? | ReactNode | Content rendered in the center of the ring. |
color? | string | Color of the progress arc. |
progress? | number | null | Progress from 0 to 1; null or undefined shows an empty ring. |
size? | number | Diameter of the ring. |
strokeWidth? | number | Thickness of the ring. |
style? | StyleProp<ViewStyle> | Style for the outer container. |
trackColor? | string | Color of the unfilled track. |
Last updated on