mirror of
https://github.com/status-im/react-native.git
synced 2025-01-30 11:14:49 +00:00
e11d496e9d
Summary: Follow up to 9ec95673909beac7798f589e0e9821b4225f8fa9 Closes https://github.com/facebook/react-native/pull/16759 Differential Revision: D6285219 Pulled By: hramos fbshipit-source-id: 7012d257a5a6cff06cb2d94203a9379e4b7e3c4e
111 lines
1.4 KiB
Markdown
111 lines
1.4 KiB
Markdown
---
|
|
id: progressviewios
|
|
title: ProgressViewIOS
|
|
layout: docs
|
|
category: components
|
|
permalink: docs/progressviewios.html
|
|
next: refreshcontrol
|
|
previous: progressbarandroid
|
|
---
|
|
Use `ProgressViewIOS` to render a UIProgressView on iOS.
|
|
|
|
### Props
|
|
|
|
- [View props...](docs/view-props.html)
|
|
- [`progress`](docs/progressviewios.html#progress)
|
|
- [`progressImage`](docs/progressviewios.html#progressimage)
|
|
- [`progressTintColor`](docs/progressviewios.html#progresstintcolor)
|
|
- [`progressViewStyle`](docs/progressviewios.html#progressviewstyle)
|
|
- [`trackImage`](docs/progressviewios.html#trackimage)
|
|
- [`trackTintColor`](docs/progressviewios.html#tracktintcolor)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
# Reference
|
|
|
|
## Props
|
|
|
|
### `progress`
|
|
|
|
The progress value (between 0 and 1).
|
|
|
|
| Type | Required |
|
|
| - | - |
|
|
| number | No |
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
### `progressImage`
|
|
|
|
A stretchable image to display as the progress bar.
|
|
|
|
| Type | Required |
|
|
| - | - |
|
|
| Image.propTypes.source | No |
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
### `progressTintColor`
|
|
|
|
The tint color of the progress bar itself.
|
|
|
|
| Type | Required |
|
|
| - | - |
|
|
| string | No |
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
### `progressViewStyle`
|
|
|
|
The progress bar style.
|
|
|
|
| Type | Required |
|
|
| - | - |
|
|
| enum('default', 'bar') | No |
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
### `trackImage`
|
|
|
|
A stretchable image to display behind the progress bar.
|
|
|
|
| Type | Required |
|
|
| - | - |
|
|
| Image.propTypes.source | No |
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
### `trackTintColor`
|
|
|
|
The tint color of the progress bar track.
|
|
|
|
| Type | Required |
|
|
| - | - |
|
|
| string | No |
|
|
|
|
|
|
|
|
|
|
|
|
|